mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-23 17:01:05 +02:00
moved from Completion/User/_bison
This commit is contained in:
parent
b489ebffe5
commit
7cfad10068
1 changed files with 21 additions and 0 deletions
21
Completion/Unix/Command/_bison
Normal file
21
Completion/Unix/Command/_bison
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#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:'
|
Loading…
Reference in a new issue