[antlr-interest] c++ Unicode
pepone pepone
pepone.onrez at gmail.com
Sat Apr 22 20:33:54 PDT 2006
I trying to add Unicode suport to my lexer based on example/cpp/unicode,
when add the unicode char vocabulary charVocabulary='\u0000'..'\uFFFE';
When try to compile the Lexer i get the next error:
WikiLexer.cpp: In member function `void WikiLexer::mDOCUMENT(bool)':
WikiLexer.cpp:192: error: invalid conversion from `const wchar_t*' to `unsigned
int'
WikiLexer.cpp:192: error: initializing argument 1 of `
antlr::BitSet::BitSet(unsigned int)'
WikiLexer.cpp: In member function `void WikiLexer::mSECTION_1_TAG(bool)':
WikiLexer.cpp:206: error: invalid conversion from `const wchar_t*' to `unsigned
Any ideas
Thanks
--
play tetris http://pepone.on-rez.com/tetris
run gentoo http://gentoo-notes.blogspot.com/
More information about the antlr-interest
mailing list