Fixed issue in 536bde4

This commit is contained in:
Birunthan Mohanathas 2012-12-23 17:35:04 +02:00
parent 648e14b6f7
commit 55824225ba

View File

@ -627,12 +627,12 @@ Token GetNextToken(Lexer& lexer)
{
lexer.token = Token::Name;
lexer.name = lexer.string;
lexer.nameLen = lexer.string - lexer.name;
do
{
lexer.charType = GetCharType(*++lexer.string);
}
while (lexer.charType <= CharType::Digit);
lexer.nameLen = lexer.string - lexer.name;
}
break;