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 | |||
@@ -133,7 +133,7 @@ GROUP(Preprocessor control) | |||
133 | OPTION(include-directory,I,DIR, | 133 | OPTION(include-directory,I,DIR, |
134 | [<add include directory>]) | 134 | [<add include directory>]) |
135 | BEGIN | 135 | BEGIN |
136 | gconf_preproc_add_include_dir (optarg); | 136 | grecs_preproc_add_include_dir (optarg); |
137 | END | 137 | END |
138 | 138 | ||
139 | OPTION(define,D,SYMBOL[=VALUE], | 139 | OPTION(define,D,SYMBOL[=VALUE], |
@@ -159,13 +159,13 @@ END | |||
159 | OPTION(preprocessor,,COMMAND, | 159 | OPTION(preprocessor,,COMMAND, |
160 | [<use COMMAND instead of the default preprocessor>]) | 160 | [<use COMMAND instead of the default preprocessor>]) |
161 | BEGIN | 161 | BEGIN |
162 | gconf_preprocessor = optarg; | 162 | grecs_preprocessor = optarg; |
163 | END | 163 | END |
164 | 164 | ||
165 | OPTION(no-preprocessor,,, | 165 | OPTION(no-preprocessor,,, |
166 | [<disable preprocessing>]) | 166 | [<disable preprocessing>]) |
167 | BEGIN | 167 | BEGIN |
168 | gconf_preprocessor = NULL; | 168 | grecs_preprocessor = NULL; |
169 | END | 169 | END |
170 | 170 | ||
171 | GROUP(Debugging) | 171 | GROUP(Debugging) |
@@ -179,13 +179,13 @@ END | |||
179 | OPTION(dump-grammar-trace,,, | 179 | OPTION(dump-grammar-trace,,, |
180 | [<dump configuration grammar traces>]) | 180 | [<dump configuration grammar traces>]) |
181 | BEGIN | 181 | BEGIN |
182 | gconf_gram_trace (1); | 182 | grecs_gram_trace (1); |
183 | END | 183 | END |
184 | 184 | ||
185 | OPTION(dump-lex-trace,,, | 185 | OPTION(dump-lex-trace,,, |
186 | [<dump lexical analyzer traces>]) | 186 | [<dump lexical analyzer traces>]) |
187 | BEGIN | 187 | BEGIN |
188 | gconf_lex_trace (1); | 188 | grecs_lex_trace (1); |
189 | END | 189 | END |
190 | 190 | ||
191 | GROUP([<Additional help>]) | 191 | GROUP([<Additional help>]) |
@@ -202,13 +202,13 @@ void | |||
202 | parse_options(int argc, char *argv[]) | 202 | parse_options(int argc, char *argv[]) |
203 | { | 203 | { |
204 | GETOPT(argc, argv) | 204 | GETOPT(argc, argv) |
205 | if (pp_cmd_stack_init && gconf_preprocessor) | 205 | if (pp_cmd_stack_init && grecs_preprocessor) |
206 | { | 206 | { |
207 | char *defs = obstack_finish (&pp_cmd_stack); | 207 | char *defs = obstack_finish (&pp_cmd_stack); |
208 | char *cmd = xmalloc (strlen (gconf_preprocessor) + strlen (defs) + 1); | 208 | char *cmd = xmalloc (strlen (grecs_preprocessor) + strlen (defs) + 1); |
209 | strcpy (cmd, gconf_preprocessor); | 209 | strcpy (cmd, grecs_preprocessor); |
210 | strcat (cmd, defs); | 210 | strcat (cmd, defs); |
211 | gconf_preprocessor = cmd; | 211 | grecs_preprocessor = cmd; |
212 | obstack_free (&pp_cmd_stack, NULL); | 212 | obstack_free (&pp_cmd_stack, NULL); |
213 | } | 213 | } |
214 | } | 214 | } |