diff options
Diffstat (limited to 'src/xmlcode.l')
-rw-r--r-- | src/xmlcode.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmlcode.l b/src/xmlcode.l index edc98d5..b583bf5 100644 --- a/src/xmlcode.l +++ b/src/xmlcode.l @@ -72,7 +72,9 @@ static MemberDef * g_currentMemberDef; static bool g_includeCodeFragment; static const char * g_currentFontClass; +#if USE_STATE2STRING static const char *stateToString(int state); +#endif static void codify(const char* text) { @@ -438,4 +440,6 @@ void XMLCodeParser::resetCodeParserState() resetXmlCodeParserState(); } +#if USE_STATE2STRING #include "xmlcode.l.h" +#endif |