aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-09-14 17:04:14 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-09-14 17:04:14 +0000
commitd748d2f99e131aa2ffb4fafc448b3004b91d96c1 (patch)
tree7baf28cd2e5c7f80b11aaa0482fab84ef701da9f /src/main.c
parenta7fe7b20bf0990a703a8d5d6f009cee02adcfadb (diff)
downloadcflow-d748d2f99e131aa2ffb4fafc448b3004b91d96c1.tar.gz
cflow-d748d2f99e131aa2ffb4fafc448b3004b91d96c1.tar.bz2
(parse_opt): Bugfix: Set preprocess_option if --cpp is given.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 4bd1a6f..0324d32 100644
--- a/src/main.c
+++ b/src/main.c
@@ -553,6 +553,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
553 print_option = PRINT_XREF; 553 print_option = PRINT_XREF;
554 break; 554 break;
555 case OPT_PREPROCESS: 555 case OPT_PREPROCESS:
556 preprocess_option = 1;
556 set_preprocessor(arg ? arg : CFLOW_PREPROC); 557 set_preprocessor(arg ? arg : CFLOW_PREPROC);
557 break; 558 break;
558 case OPT_NO_PREPROCESS: 559 case OPT_NO_PREPROCESS:

Return to:

Send suggestions and report system problems to the System administrator.