Treat \r as a space.

This commit is contained in:
David Given 2022-07-18 20:35:53 +02:00
parent 7d112a394c
commit 56b0eb81c1
2 changed files with 2 additions and 0 deletions

View file

@ -572,6 +572,7 @@ int yylex(void)
/* handle double operators */ /* handle double operators */
case ' ': case ' ':
case '\t': case '\t':
case '\r':
cptr++; cptr++;
return(yylex()); return(yylex());
case '&': case '&':

View file

@ -43,6 +43,7 @@ cprogram {
"./symbols.h", "./symbols.h",
"./util.h", "./util.h",
"./yylexp.h", "./yylexp.h",
"./basic.lex",
"+llgen", "+llgen",
"+tokentab_h", "+tokentab_h",
"h+emheaders", "h+emheaders",