diff --git a/xa-pre-process/xapp.l b/xa-pre-process/xapp.l index 1713435..bff9724 100644 --- a/xa-pre-process/xapp.l +++ b/xa-pre-process/xapp.l @@ -23,7 +23,7 @@ BIN %[01]+(\.[01]+)? (<>)|(><) return NE_OP; "&&" return AND_OP; "||" return OR_OP; -[ \t\n]+ ; /* Ignore whitespace */ +[ \t\r\n]+ ; /* Ignore whitespace */ [-()<>+~!*/%=&^|] return yytext[0]; . { fprintf(stderr, "SET (invalid character '%s')\n", yytext); exit(1); }