summaryrefslogtreecommitdiffstats
path: root/src/fortrancode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-11-18 19:37:37 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-11-18 19:37:37 (GMT)
commit26f6f1aec1be0361eac7c6ebc4de93904bf42a98 (patch)
tree7fc789ad9fe026693738917d9036eca5692a3f4c /src/fortrancode.l
parentc5854f5a8e819de82b73d14bbbd8583a36842fd5 (diff)
downloadDoxygen-26f6f1aec1be0361eac7c6ebc4de93904bf42a98.zip
Doxygen-26f6f1aec1be0361eac7c6ebc4de93904bf42a98.tar.gz
Doxygen-26f6f1aec1be0361eac7c6ebc4de93904bf42a98.tar.bz2
Remove bogus flex code
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r--src/fortrancode.l12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index 72feb3d..3bbecd8 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -1395,16 +1395,4 @@ void parseFortranCode(CodeOutputInterface &od,const char *,const QCString &s,
return;
}
-#if !defined(YY_FLEX_SUBMINOR_VERSION)
-extern "C" { // some bogus code to keep the compiler happy
- void fortrancodeYYdummy() { yy_flex_realloc(0,0); }
-}
-#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
- void fortrancodeYYdummy() { yy_top_state(); }
-}
-#endif
-
#include "fortrancode.l.h"