]> git.saurik.com Git - bison.git/commit
Clean up %skeleton and %language priority implementation.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 7 Nov 2008 21:48:31 +0000 (16:48 -0500)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 7 Nov 2008 21:48:31 +0000 (16:48 -0500)
commit4b1ebc495bd39572b60640bc469b0852e9f71447
tree088bedc0fcde7bd229f1a4e2751e9e105c1332a0
parent738cde3e937b920babf55dea2db4cbfe17eebb9c
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