summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1eb5aa6..8b9f3ed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1577,11 +1577,12 @@ void readin ()
}
if (!do_yywrap) {
- if (!C_plus_plus)
+ if (!C_plus_plus) {
if (reentrant)
outn ("\n#define yywrap(yyscanner) 1");
else
outn ("\n#define yywrap() 1");
+ }
outn ("#define YY_SKIP_YYWRAP");
}