]> git.saurik.com Git - bison.git/commit - src/getargs.h
Clean up %skeleton and %language priority implementation.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 7 Nov 2008 22:20:44 +0000 (17:20 -0500)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 7 Nov 2008 22:20:44 +0000 (17:20 -0500)
commit5136519230209e4362e477c38d92f7d25203255f
treeb2cdc77803f92b476189e658533b0c175383a8a4
parent9380cfd0083f8cdf845600b08e6b30f77e5e9e29
Clean up %skeleton and %language priority implementation.

* src/getargs.c (skeleton_prio): Use default_prio rather than 2, and
remove static qualifier because others will soon need to see it.
(language_prio): Likewise.
(getargs): Use command_line_prio rather than 0.
* src/getargs.h (command_line_prio, grammar_prio, default_prio): New
enum fields.
(skeleton_prio): Extern it.
(language_prio): Extern it.
* src/parse-gram.y: Use grammar_prio rather than 1.
ChangeLog
src/getargs.c
src/getargs.h
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y