diff options
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r-- | src/cmdline.opt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt index fd87e5e..3515072 100644 --- a/src/cmdline.opt +++ b/src/cmdline.opt @@ -130,13 +130,13 @@ END GROUP(Preprocessor control) OPTION(include-directory,I,DIR, [<add include directory>]) BEGIN - gconf_preproc_add_include_dir (optarg); + grecs_preproc_add_include_dir (optarg); END OPTION(define,D,SYMBOL[=VALUE], [<define a preprocessor symbol>]) BEGIN char *p; @@ -156,19 +156,19 @@ BEGIN obstack_1grow (&pp_cmd_stack, '"'); END OPTION(preprocessor,,COMMAND, [<use COMMAND instead of the default preprocessor>]) BEGIN - gconf_preprocessor = optarg; + grecs_preprocessor = optarg; END OPTION(no-preprocessor,,, [<disable preprocessing>]) BEGIN - gconf_preprocessor = NULL; + grecs_preprocessor = NULL; END GROUP(Debugging) OPTION(debug,d,, [<increase debugging level>]) @@ -176,19 +176,19 @@ BEGIN debug_level++; END OPTION(dump-grammar-trace,,, [<dump configuration grammar traces>]) BEGIN - gconf_gram_trace (1); + grecs_gram_trace (1); END OPTION(dump-lex-trace,,, [<dump lexical analyzer traces>]) BEGIN - gconf_lex_trace (1); + grecs_lex_trace (1); END GROUP([<Additional help>]) OPTION(config-help,,, [<show configuration file summary>]) BEGIN @@ -199,16 +199,16 @@ END OPTIONS_END void parse_options(int argc, char *argv[]) { GETOPT(argc, argv) - if (pp_cmd_stack_init && gconf_preprocessor) + if (pp_cmd_stack_init && grecs_preprocessor) { char *defs = obstack_finish (&pp_cmd_stack); - char *cmd = xmalloc (strlen (gconf_preprocessor) + strlen (defs) + 1); - strcpy (cmd, gconf_preprocessor); + char *cmd = xmalloc (strlen (grecs_preprocessor) + strlen (defs) + 1); + strcpy (cmd, grecs_preprocessor); strcat (cmd, defs); - gconf_preprocessor = cmd; + grecs_preprocessor = cmd; obstack_free (&pp_cmd_stack, NULL); } } |