From 4dc1d1b4891ae55ef6edd6ff2ac4040e73ae7c80 Mon Sep 17 00:00:00 2001 From: wlestes Date: Fri, 22 Jun 2012 20:28:57 +0000 Subject: add missing argument to call to yylex in manual --- doc/flex.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1