aboutsummaryrefslogtreecommitdiff
path: root/man/man1/yacc.1
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2005-02-14 20:27:13 +0000
committerwkj <devnull@localhost>2005-02-14 20:27:13 +0000
commitcae9bfe9da0a9d46554940c127fb2a022f1360f6 (patch)
tree4f27107d9508f4d371a3aa9ba14c5e9b9afe37c6 /man/man1/yacc.1
parent5ddc97fc3e63fb0bdf14ec3583afbec765f1a45d (diff)
downloadplan9port-cae9bfe9da0a9d46554940c127fb2a022f1360f6.tar.gz
plan9port-cae9bfe9da0a9d46554940c127fb2a022f1360f6.tar.bz2
plan9port-cae9bfe9da0a9d46554940c127fb2a022f1360f6.zip
Reduce the differences between yaccpar and yaccpars.
Add support for passing an argument through yyparse to yylex.
Diffstat (limited to 'man/man1/yacc.1')
-rw-r--r--man/man1/yacc.19
1 files changed, 9 insertions, 0 deletions
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