diff --git a/lang/basic/src/basic.lex b/lang/basic/src/basic.lex index 39d87e9ff..fc6dd34d6 100644 --- a/lang/basic/src/basic.lex +++ b/lang/basic/src/basic.lex @@ -572,6 +572,7 @@ int yylex(void) /* handle double operators */ case ' ': case '\t': + case '\r': cptr++; return(yylex()); case '&': diff --git a/lang/basic/src/build.lua b/lang/basic/src/build.lua index 3f09611fa..24f38da81 100644 --- a/lang/basic/src/build.lua +++ b/lang/basic/src/build.lua @@ -43,6 +43,7 @@ cprogram { "./symbols.h", "./util.h", "./yylexp.h", + "./basic.lex", "+llgen", "+tokentab_h", "h+emheaders",