summaryrefslogtreecommitdiff
path: root/devel/doxygen/files/patch-src_xmlcode.l
blob: 4cff4c58f7f70368e01b92b2508f60b60637ff58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/xmlcode.l.orig	2015-05-31 19:01:12 UTC
+++ src/xmlcode.l
@@ -407,7 +407,7 @@ void resetXmlCodeParserState() 
 extern "C" { // some bogus code to keep the compiler happy
   void xmlcodeYYdummy() { yy_flex_realloc(0,0); } 
 }
-#elif YY_FLEX_SUBMINOR_VERSION<33
+#elif YY_FLEX_MINOR_VERSION==5 && YY_FLEX_SUBMINOR_VERSION<33
 #error "You seem to be using a version of flex newer than 2.5.4. These are currently incompatible with 2.5.4, and do NOT work with doxygen! Please use version 2.5.4 or expect things to be parsed wrongly! A bug report has been submitted (#732132)."
 #endif