diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-11-25 21:15:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-11-25 21:15:23 (GMT) |
commit | 53ca521c3de1a23d7a1f3766f011c1a21637e94e (patch) | |
tree | 3f98c55feb926908c52d5caa7a78351d47990e92 | |
parent | 40897d59939828ea07c591d83e9c2b4d2a00f43a (diff) | |
parent | a8c73cdbe37cc53c398002d20e94037552a8fb55 (diff) | |
download | Doxygen-53ca521c3de1a23d7a1f3766f011c1a21637e94e.zip Doxygen-53ca521c3de1a23d7a1f3766f011c1a21637e94e.tar.gz Doxygen-53ca521c3de1a23d7a1f3766f011c1a21637e94e.tar.bz2 |
Merge pull request #416 from lameventanas/master
Fixed preprocessor macros for flex version check
-rw-r--r-- | src/code.l | 2 | ||||
-rw-r--r-- | src/pycode.l | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -3700,7 +3700,7 @@ void codeFreeScanner() extern "C" { // some bogus code to keep the compiler happy void codeYYdummy() { yy_flex_realloc(0,0); } } -#elif YY_FLEX_MAJOR_VERISON<=2 && YY_FLEX_MINOR_VERSION<=5 && 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. 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 diff --git a/src/pycode.l b/src/pycode.l index 2b2a668..c3219d9 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface &od,const char * /*className*/, extern "C" { // some bogus code to keep the compiler happy void pycodeYYdummy() { yy_flex_realloc(0,0); } } -#elif YY_FLEX_MAJOR_VERISON<=2 && YY_FLEX_MINOR_VERSION<=5 && 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. 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 |