summaryrefslogtreecommitdiffstats
path: root/src/configimpl.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/configimpl.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/configimpl.l')
-rw-r--r--src/configimpl.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index 2d91e12..eaf6cf4 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -43,6 +43,8 @@
#define YY_NO_INPUT 1
#define YY_NO_UNISTD_H 1
+static const char *stateToString(int state);
+
static const char *warning_str = "warning: ";
static const char *error_str = "error: ";
@@ -1882,3 +1884,4 @@ void Config::deinit()
ConfigImpl::instance()->deleteInstance();
}
+#include "configimpl.l.h"