summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlestes <wlestes>2012-06-22 20:28:57 +0000
committerwlestes <wlestes>2012-06-22 20:28:57 +0000
commit4dc1d1b4891ae55ef6edd6ff2ac4040e73ae7c80 (patch)
treed0cd745ab82e33d2e6fe1626ac352d9cc19c5fa8
parent63f9cb4eed1e350128f9289d27e0dff3d5b0e43a (diff)
downloadflex-4dc1d1b4891ae55ef6edd6ff2ac4040e73ae7c80.tar.gz
add missing argument to call to yylex in manual
-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);