From 70a21186f92ee19a995080744ce9a320345c05cb Mon Sep 17 00:00:00 2001 From: tjg Date: Wed, 24 Sep 2003 10:15:11 +0000 Subject: Tidiness: minor improvements to input.c. --- lex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lex.c') diff --git a/lex.c b/lex.c index 6bc92da..b53ae09 100644 --- a/lex.c +++ b/lex.c @@ -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; } -- cgit v1.2.3