Skip to content

Commit 53ca521

Browse files
author
Dimitri van Heesch
committed
Merge pull request doxygen#416 from lameventanas/master
Fixed preprocessor macros for flex version check
2 parents 40897d5 + a8c73cd commit 53ca521

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/code.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3700,7 +3700,7 @@ void codeFreeScanner()
37003700
extern "C" { // some bogus code to keep the compiler happy
37013701
void codeYYdummy() { yy_flex_realloc(0,0); }
37023702
}
3703-
#elif YY_FLEX_MAJOR_VERISON<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
3703+
#elif YY_FLEX_MAJOR_VERSION<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
37043704
#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)."
37053705
#endif
37063706

src/pycode.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface &od,const char * /*className*/,
15031503
extern "C" { // some bogus code to keep the compiler happy
15041504
void pycodeYYdummy() { yy_flex_realloc(0,0); }
15051505
}
1506-
#elif YY_FLEX_MAJOR_VERISON<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
1506+
#elif YY_FLEX_MAJOR_VERSION<=2 && YY_FLEX_MINOR_VERSION<=5 && YY_FLEX_SUBMINOR_VERSION<33
15071507
#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)."
15081508
#endif
15091509

0 commit comments

Comments
 (0)