diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/xmllexer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xine-utils/xmllexer.c b/src/xine-utils/xmllexer.c index 4e72ba57c..a3b395a46 100644 --- a/src/xine-utils/xmllexer.c +++ b/src/xine-utils/xmllexer.c @@ -96,11 +96,12 @@ void lexer_init(const char * buf, int size) { static_lexer = lexer_init_r(buf, size); } -static enum { + +enum { NORMAL, DATA, CDATA, -} lex_mode = NORMAL; +}; struct lexer *lexer_init_r(const char * buf, int size) { static const char boms[] = { 0xFF, 0xFE, 0, 0, 0xFE, 0xFF }, |