diff options
author | albert-github <albert.tests@gmail.com> | 2019-09-05 12:04:14 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-09-05 12:04:14 (GMT) |
commit | aca16ea3b4e4beef9bf067d0b532dfa3802f7a3d (patch) | |
tree | 9c040ab60c4d6f7c1bd3503abb1b2f6d219d86f2 /src/pyscanner.l | |
parent | 98cc801013b16d827d91567998ead7b24fd78b6d (diff) | |
download | Doxygen-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/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index 3fe66f2..2320bca 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -123,6 +123,7 @@ static int g_search_count = 0; static QCString g_argType = ""; static bool g_funcParamsEnd; //----------------------------------------------------------------------------- +static const char *stateToString(int state); static void initParser() @@ -1994,3 +1995,4 @@ extern "C" { // some bogus code to keep the compiler happy } #endif +#include "pyscanner.l.h" |