summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2005-09-14 17:04:14 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2005-09-14 17:04:14 (GMT)
commitd748d2f99e131aa2ffb4fafc448b3004b91d96c1 (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-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)
print_option = PRINT_XREF;
break;
case OPT_PREPROCESS:
+ preprocess_option = 1;
set_preprocessor(arg ? arg : CFLOW_PREPROC);
break;
case OPT_NO_PREPROCESS:

Return to:

Send suggestions and report system problems to the System administrator.