summaryrefslogtreecommitdiffstats
path: root/src/sqlcode.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-09-05 12:04:14 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-09-05 12:04:14 (GMT)
commitaca16ea3b4e4beef9bf067d0b532dfa3802f7a3d (patch)
tree9c040ab60c4d6f7c1bd3503abb1b2f6d219d86f2 /src/sqlcode.l
parent98cc801013b16d827d91567998ead7b24fd78b6d (diff)
downloadDoxygen-aca16ea3b4e4beef9bf067d0b532dfa3802f7a3d.zip
Doxygen-aca16ea3b4e4beef9bf067d0b532dfa3802f7a3d.tar.gz
Doxygen-aca16ea3b4e4beef9bf067d0b532dfa3802f7a3d.tar.bz2
Consistent way to show scanner state
Create a consistent way to display the state mnemonics of the different scanners (analogous to the fortranscanner.l) Use an automatic procedure to generate the routine with the translation of the states to a string.
Diffstat (limited to 'src/sqlcode.l')
-rw-r--r--src/sqlcode.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqlcode.l b/src/sqlcode.l
index eec9732..2685c46 100644
--- a/src/sqlcode.l
+++ b/src/sqlcode.l
@@ -63,6 +63,7 @@ struct sqlcodeYY_state
};
static void codify(const char* text);
+static const char *stateToString(int state);
static void setCurrentDoc(const QCString &anchor,yyscan_t yyscanner);
static void startCodeLine(yyscan_t yyscanner);
static void endFontClass(yyscan_t yyscanner);
@@ -461,3 +462,4 @@ extern "C" { // some bogus code to keep the compiler happy
#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
+#include "sqlcode.l.h"