diff options
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r-- | src/fortrancode.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index c71de8f..63fdb0a 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -957,5 +957,9 @@ extern "C" { // some bogus code to keep the compiler happy } #elif 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 + void fcodeYYdummy() { yy_top_state(); } +} #endif |