summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 031d5ec..8cf6196 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -917,6 +917,9 @@ void doctokenizerYYsetInsidePre(bool b)
g_insidePre = b;
}
+#if !defined(YY_FLEX_SUBMINOR_VERSION)
extern "C" { // some bogus code to keep the compiler happy
void doctokenizerYYdummy() { yy_flex_realloc(0,0); }
}
+#endif
+