Fix lexer bugs.

Already handled by case above.
This commit is contained in:
Enyby
2019-10-21 10:16:43 +03:00
parent c8461b8128
commit 22e7a8c620

View File

@@ -696,9 +696,6 @@ public class LexState extends Constants {
_assert (!currIsNewline()); _assert (!currIsNewline());
nextChar(); nextChar();
continue; continue;
} else if (isdigit(current)) {
read_numeral(seminfo);
return TK_NUMBER;
} else if (isalpha(current) || current == '_') { } else if (isalpha(current) || current == '_') {
/* identifier or reserved word */ /* identifier or reserved word */
LuaString ts; LuaString ts;