mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 10:40:46 -04:00
11 lines
628 B
Text
11 lines
628 B
Text
--- src/fortrancode.l.orig 2015-11-19 06:39:17 UTC
|
|
+++ src/fortrancode.l
|
|
@@ -1306,7 +1306,7 @@ void parseFortranCode(CodeOutputInterfac
|
|
extern "C" { // some bogus code to keep the compiler happy
|
|
void fortrancodeYYdummy() { 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 but older than 2.5.33. These versions do NOT work with doxygen! Please use version <=2.5.4 or >=2.5.33 or expect things to be parsed wrongly!"
|
|
#else
|
|
extern "C" { // some bogus code to keep the compiler happy
|