diff options
Diffstat (limited to 'lexer.c')
-rw-r--r-- | lexer.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -84,9 +84,7 @@ lexline(InputStream *input, int toplevel) case L'⍝': while(peek != '\n' && !inputEOF(input)) peek = getrune(input); - if(stmt->ntoks == 0) - continue; - goto end; + continue; case L'⍬': stmt->toks[stmt->ntoks] = allocdatum(ArrayTag, 0); stmt->toks[stmt->ntoks]->array = allocarray(AtypeInt, 1, 0); @@ -272,7 +270,7 @@ syntax_error: free(stmt); throwerror(err, ESyntax); } - /* print("Got token: %S\n", ppdatum(stmt->toks[stmt->ntoks])); */ + // print("Got token: %S\n", ppdatum(stmt->toks[stmt->ntoks])); stmt->ntoks++; peek = getrune(input); } |