summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/config_doxyw.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 /addon/doxywizard/config_doxyw.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 'addon/doxywizard/config_doxyw.l')
-rw-r--r--addon/doxywizard/config_doxyw.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/addon/doxywizard/config_doxyw.l b/addon/doxywizard/config_doxyw.l
index 193e6ed..59fa427 100644
--- a/addon/doxywizard/config_doxyw.l
+++ b/addon/doxywizard/config_doxyw.l
@@ -64,6 +64,8 @@ static QString g_codecName = QString::fromLatin1("UTF-8")
static int g_lastState;
static QByteArray g_tmpString;
+static const char *stateToString(int state);
+
/* -----------------------------------------------------------------
*/
#undef YY_INPUT
@@ -585,4 +587,4 @@ void writeStringValue(QTextStream &t,QTextCodec *codec,const QString &s)
}
}
}
-
+#include "config_doxyw.l.h"