Merge pull request #57 from Russell-S-Harper/development

Adding carriage return to whitespace specifier.
This commit is contained in:
Russell-S-Harper 2019-10-21 22:30:30 -04:00 committed by GitHub
commit c89609cb53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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); }