From 4ff0e365f22d64ba492369ea1f037f9c6aafc17e Mon Sep 17 00:00:00 2001 From: Will Estes 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(-) (limited to 'doc') 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.3