diff options
author | lameventanas <lameventanas@gmail.com> | 2015-11-25 11:18:54 (GMT) |
---|---|---|
committer | lameventanas <lameventanas@gmail.com> | 2015-11-25 11:18:54 (GMT) |
commit | a8c73cdbe37cc53c398002d20e94037552a8fb55 (patch) | |
tree | 3f98c55feb926908c52d5caa7a78351d47990e92 /src | |
parent | 40897d59939828ea07c591d83e9c2b4d2a00f43a (diff) | |
download | Doxygen-a8c73cdbe37cc53c398002d20e94037552a8fb55.zip Doxygen-a8c73cdbe37cc53c398002d20e94037552a8fb55.tar.gz Doxygen-a8c73cdbe37cc53c398002d20e94037552a8fb55.tar.bz2 |
Fixed preprocessor macros for flex version check
Diffstat (limited to 'src')
-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 |