summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2012-06-22 20:28:57 +0000
committerWill Estes <wlestes@users.sourceforge.net>2012-06-22 20:28:57 +0000
commit4ff0e365f22d64ba492369ea1f037f9c6aafc17e (patch)
treed1f41e05578a7b14c9b3d4695f2fef7143a83887 /doc
parent3a031f416277936be0844a1cdc56097f8ff1de40 (diff)
add missing argument to call to yylex in manual
Diffstat (limited to 'doc')
-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);