23 stringstream<JAVACC_STRING_TYPE> ss;
24 ss <<
"Lexical error at line " << errorLine <<
" column " << errorColumn
25 <<
". Encountered: " << curChar <<
"(" << (
int)curChar
26 <<
") after : \"" << errorAfter.c_str() <<
"\"";
69 return 'a' + (i - 10);
78 for (
size_t i = 0; i < str.size(); i++) {
98 retval.append(
"\\\\");
105 retval.append(
"\\u");
107 retval += (
hexChar((ch & 0x0f00) >> 8));
108 retval += (
hexChar((ch & 0x00f0) >> 4));
109 retval += (
hexChar(ch & 0x000f));
#define JAVACC_STRING_TYPE
JAVACC_STRING_TYPE getMessage()
JAVACC_STRING_TYPE LexicalError(bool EOFSeen, int lexState, int errorLine, int errorColumn, JAVACC_STRING_TYPE errorAfter, JAVACC_CHAR_TYPE curChar)
const JAVACC_CHAR_TYPE EMPTY[]
#define JAVACC_SIMPLE_STRING
JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str)
JAVACC_STRING_TYPE message