diff options
author | Heiko Becker <heirecka@exherbo.org> | 2015-11-19 11:00:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-11-22 13:00:40 (GMT) |
commit | cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb (patch) | |
tree | 86557ace1e35bd93cd0777c6d391fc853dd7b908 /src/fortrancode.l | |
parent | 499ecaedf1ee1222535be27f77050ee633595685 (diff) | |
download | Doxygen-cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.zip Doxygen-cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.tar.gz Doxygen-cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.tar.bz2 |
Support flex-2.6.0
The version checks only considered YY_FLEX_SUBMINOR_VERSION and did not
take YY_FLEX_MINOR_VERSION into account, which made them fail with
flex-2.6.0.
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r-- | src/fortrancode.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index fb91a83..352912b 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -1306,7 +1306,7 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri 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<6 && 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 |