1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 14:04:03 +01:00
zsh/Completion/User/_bison
Oliver Kiddle b9c58a73ac various doc fixes and minor completion function changes, most of which
are to use the -A "-*" and -S options to _arguments (13863)
2001-04-01 16:19:15 +00:00

22 lines
921 B
Plaintext

#compdef bison
_arguments -s -S \
'(--file-prefix)-b+[specify output file prefix]:output file prefix:' \
'(--defines)-d[write token definition file]' \
'(--raw)-r[output bison token numbers]' \
'(--token-table)-k[output token table]' \
'(--no-lines)-l[don'"'"'t generate #line directives]' \
'(--no-parser)-n[don'"'"'t generate parse (only declarations)]' \
'(--output-file)-o+[specify parser output file name]:parser file name:_files' \
'(--name-prefix)-p+[change yy prefix]:prefix string:' \
'(--debug)-t[output YYDEBUG definition]' \
'(--verbose)-v[verbose mode]' \
'(--version)-V[show version]' \
'(--help)-h[show help]' \
'(--yacc --fixed-output-file)-y[imitate yacc'"'"'s output file convention]' \
':input file:_files -g \*.\(\#i\)\(bison\|yacc\|y\)' \
-- \
'*=outfile:parser file name:_files' \
'*file-prefix=prefix:output file prefix:' \
'*name-prefix=prefix:prefix string:'