/usr/ccs/bin/yacc [options] fileGiven a file containing a context-free LALR(1) grammar, convert it to tables for subsequent parsing and send output to y.tab.c. This command name stands for yet another compiler-compiler. See also lex and lex & yacc, which is listed in the Bibliography.
-b prefixUse prefix instead of y for the generated filenames. Solaris only.
-dGenerate y.tab.h, producing #define statements that relate yacc's token codes to the token names declared by the user.
-lExclude #line constructs from code produced in y.tab.c. (Use after debugging is complete.)
-p prefixUse prefix instead of yy for all external names in the generated parser. Solaris only.
-P parserUse parser instead of /usr/ccs/bin/yaccpar. Solaris only.
-QcPlace version information about yacc in y.tab.c (if c = y) or suppress information (if c = n, the default).
-tCompile runtime debugging code by default.
-vGenerate y.output, a file containing diagnostics and notes about the parsing tables.
-VPrint the version of yacc on standard error.