diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-11-22 12:58:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-11-22 13:00:40 (GMT) |
commit | 8c51120ad55b440b738ef0b96f8169d84a7ae88a (patch) | |
tree | 86255cce94958b0e38fb4ce24e2de0031362790b /src/fortrancode.l | |
parent | cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb (diff) | |
download | Doxygen-8c51120ad55b440b738ef0b96f8169d84a7ae88a.zip Doxygen-8c51120ad55b440b738ef0b96f8169d84a7ae88a.tar.gz Doxygen-8c51120ad55b440b738ef0b96f8169d84a7ae88a.tar.bz2 |
Support flex-2.6.0
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r-- | src/fortrancode.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index 352912b..82e78c1 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -1302,11 +1302,11 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri return; } -#if !defined(YY_FLEX_SUBMINOR_VERSION) +#if !defined(YY_FLEX_SUBMINOR_VERSION) extern "C" { // some bogus code to keep the compiler happy - void fortrancodeYYdummy() { yy_flex_realloc(0,0); } + void fortrancodeYYdummy() { yy_flex_realloc(0,0); } } -#elif YY_FLEX_MINOR_VERSION<6 && YY_FLEX_SUBMINOR_VERSION<33 +#elif YY_FLEX_MAJOR_VERSION<=2 && 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 |