diff options
| author | tjg <tjg> | 2003-09-24 10:15:11 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:23 +0100 |
| commit | 70a21186f92ee19a995080744ce9a320345c05cb (patch) | |
| tree | 41540bb3724cbc5c8a36228e5723211338e22090 /lex.c | |
| parent | 02c12b81c0b9b19a7b1372c8e6842337a9f00959 (diff) | |
Tidiness: minor improvements to input.c.
Diffstat (limited to 'lex.c')
| -rw-r--r-- | lex.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ /* lex.c: rc's lexical analyzer */ #include "rc.h" + +#include "input.h" #include "parse.h" /* @@ -333,7 +335,7 @@ extern void yyerror(const char *s) { } extern void scanerror(char *s) { - flushu(); /* flush upto newline */ + skiptonl(); /* flush upto newline */ yyerror(s); errset = prerror = TRUE; } |