File: _bison

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (21 lines) | stat: -rw-r--r-- 923 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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'