yyWord is always empty at this point.
Change-Id: I1bf897c61e25d52978a77a0d6121078ef264b503
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
case '/':
yyCh = getChar();
if (yyCh == '/') {
- ushort *ptr = (ushort *)yyWord.unicode() + yyWord.length();
+ ushort *ptr = (ushort *)yyWord.unicode();
do {
yyCh = getChar();
if (yyCh == EOF)
return Tok_Comment;
} else if (yyCh == '*') {
bool metAster = false;
- ushort *ptr = (ushort *)yyWord.unicode() + yyWord.length();
+ ushort *ptr = (ushort *)yyWord.unicode();
forever {
yyCh = getChar();
}
break;
case '"': {
- ushort *ptr = (ushort *)yyWord.unicode() + yyWord.length();
+ ushort *ptr = (ushort *)yyWord.unicode();
yyCh = getChar();
while (yyCh != EOF && yyCh != '\n' && yyCh != '"') {
if (yyCh == '\\') {