]> git.saurik.com Git - bison.git/commit
Clean up.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Sun, 28 Jan 2007 14:31:56 +0000 (14:31 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Sun, 28 Jan 2007 14:31:56 +0000 (14:31 +0000)
commit3eb82471faaf77cb1d0677d6bf7c0e65f432519e
tree1843dea7a4343243ff121badce213fbd57150d32
parent148d66d8612b5e382495f43d672fbdeeee1d3802
Clean up.
* src/scan-skel.l (at_directive_perform): Add at_directive_argc and
at_directive_argv arguments so these no longer have to be global
variables.  Also, update the implementation for the following changes.
(fail_for_at_directive_too_many_args,
fail_for_at_directive_too_few_args): Add at_directive_name argument.
(at_directive_name): Remove as at_directive_argv[0] will be used for
this now.
(AT_DIRECTIVE_ARGC_MAX): Increment to make space in at_directive_argv
for the directive name.
(at_directive_argc, at_directive_argv): Make these local within
skel_lex instead of global.
(INITIAL): Update directive start action for above changes.
(SC_AT_DIRECTIVE_ARG): Rename to...
(SC_AT_DIRECTIVE_ARGS): ... this, and update for above changes.
(SC_AT_DIRECTIVE_SKIP_WS): Update.
(scan_skel): Move yylex_destroy to...
(skel_scanner_free): ... here.
* tests/skeletons.at (installed skeleton file name): Rename to...
(installed skeleton file names): ... this.
ChangeLog
src/scan-skel.l
tests/skeletons.at