From cae9bfe9da0a9d46554940c127fb2a022f1360f6 Mon Sep 17 00:00:00 2001 From: wkj Date: Mon, 14 Feb 2005 20:27:13 +0000 Subject: Reduce the differences between yaccpar and yaccpars. Add support for passing an argument through yyparse to yylex. --- man/man1/yacc.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man/man1/yacc.1') diff --git a/man/man1/yacc.1 b/man/man1/yacc.1 index 75d4d473..cbd1eb73 100644 --- a/man/man1/yacc.1 +++ b/man/man1/yacc.1 @@ -86,6 +86,15 @@ Stdio instead of the .B print routines in libc. +.TP +.BI -l +Disable #line directives in the generated parser. +.TP +.BI -a +Generate a parser that takes an argument of type Yyarg +and passes this argument to each invocation of the lexer +function, yylex. Yyarg contains per-instance state +and a single user-visible member, arg, of type void*. .PP The specification of .I yacc -- cgit v1.2.3