]> git.saurik.com Git - bison.git/commit
* src/getargs.c (longopts): Support `--output'. getopt is now
authorAkim Demaille <akim@epita.fr>
Sun, 4 Nov 2001 16:26:59 +0000 (16:26 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 4 Nov 2001 16:26:59 +0000 (16:26 +0000)
commitea57e0a3c4dd5eb4271f446f97e61aa594ada128
tree3c5ae66a8316776db3cc8cc18dd1dd549994aa51
parent57c429f305ff30bb2657a616632b3167069c13dc
* src/getargs.c (longopts): Support `--output'.  getopt is now
able to understand that `--out' is OK: the two racing long options
are aliases.
(usage): Adjust.
* src/lex.h (tok_setopt): Remove, replaced with...
(tok_intopt, tok_stropt): these new guys.
* src/lex.c (getopt.h): Not needed.
(token_buffer, unlexed_token_buffer): Not const.
(percent_table): Promote `-' over `_' in directive names.
Active `%name-prefix', `file-prefix', and `output'.
(parse_percent_token): Accept possible arguments to directives.
Promote `-' over `_' in directive names.
* doc/bison.texinfo (Decl Summary): Split the list into
`directives for grammars' and `directives for bison'.
Sort'em.
Add description of `%name-prefix', `file-prefix', and `output'.
Promote `-' over `_' in directive names.
(Bison Options): s/%locactions/%locations/.  Nice Freudian slip.
Simplify the description of `--name-prefix'.
Promote `-' over `_' in directive names.
Promote `--output' over `--output-file'.
Fix the description of `--defines'.
* tests/output.at: Exercise %file-prefix and %output.
32 files changed:
ChangeLog
Makefile.in
NEWS
config/texinfo.tex
doc/bison.info
doc/bison.info-1
doc/bison.info-3
doc/bison.info-4
doc/bison.info-5
doc/bison.texinfo
doc/stamp-vti
doc/version.texi
po/ChangeLog
po/de.gmo
po/de.po
po/es.po
po/et.gmo
po/et.po
po/fr.gmo
po/fr.po
po/ja.gmo
po/ja.po
po/nl.gmo
po/nl.po
po/ru.gmo
po/ru.po
po/tr.po
src/getargs.c
src/lex.c
src/lex.h
src/reader.c
tests/output.at