Adding carriage return to whitespace specifier.

This commit is contained in:
Russell-S-Harper 2019-10-21 22:28:03 -04:00
parent 35a9b719ef
commit e233605c02

View File

@ -23,7 +23,7 @@ BIN %[01]+(\.[01]+)?
(<>)|(><) return NE_OP; (<>)|(><) return NE_OP;
"&&" return AND_OP; "&&" return AND_OP;
"||" return OR_OP; "||" return OR_OP;
[ \t\n]+ ; /* Ignore whitespace */ [ \t\r\n]+ ; /* Ignore whitespace */
[-()<>+~!*/%=&^|] return yytext[0]; [-()<>+~!*/%=&^|] return yytext[0];
. { fprintf(stderr, "SET (invalid character '%s')\n", yytext); exit(1); } . { fprintf(stderr, "SET (invalid character '%s')\n", yytext); exit(1); }