summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2015-04-04 12:46:13 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:25 +0100
commitfbeb8501cdbf8f640605e3c05551fd71e5cc33a3 (patch)
treebcfc933169422b1fa3a1ac0eec920f778e89cd92 /lex.c
parent8f6cdbf1e60d882598cd649000d13cd9859d8cc9 (diff)
typo (thanks Jakub Wilk)
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 1df705a..92732f8 100644
--- a/lex.c
+++ b/lex.c
@@ -349,7 +349,7 @@ extern void yyerror(const char *s) {
}
extern void scanerror(char *s) {
- skiptonl(); /* flush upto newline */
+ skiptonl(); /* flush up to newline */
yyerror(s);
errset = prerror = TRUE;
}