From e233605c0224349ef163e1bfee6b9d7fe409bb57 Mon Sep 17 00:00:00 2001 From: Russell-S-Harper Date: Mon, 21 Oct 2019 22:28:03 -0400 Subject: [PATCH] Adding carriage return to whitespace specifier. --- xa-pre-process/xapp.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }