summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDemi Obenour <demiobenour@gmail.com>2017-05-02 19:18:14 -0400
committerWill Estes <westes575@gmail.com>2017-05-03 16:16:37 -0400
commitd564d454770bfdb38a1632516f83c0aab7fa3c07 (patch)
tree276771b1bcb350a6031d105c209963c867b9e89e /src/main.c
parentba530cd52fa2d69ddf7194459445a19fc9648014 (diff)
Don't leak macro definitions into header files
This allowed unnamespaced definitions to leak into header files, breaking client code. Fixes #142
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index fe94777..e5eac44 100644
--- a/src/main.c
+++ b/src/main.c
@@ -310,8 +310,8 @@ void check_options (void)
}
}
- if (extra_type)
- buf_m4_define( &m4defs_buf, "M4_EXTRA_TYPE_DEFS", extra_type);
+ if (extra_type)
+ buf_m4_define( &m4defs_buf, "M4_EXTRA_TYPE_DEFS", extra_type);
if (!use_stdout) {
FILE *prev_stdout;