summaryrefslogtreecommitdiff
path: root/doc/flex.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/flex.texi')
-rw-r--r--doc/flex.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index 9513625..a582152 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -4274,7 +4274,7 @@ it when done:
yylex_init(&scanner);
- while ((tok=yylex()) > 0)
+ while ((tok=yylex(scanner)) > 0)
printf("tok=%d yytext=%s\n", tok, yyget_text(scanner));
yylex_destroy(scanner);