Ignore ';' characters
This commit is contained in:
parent
c16a0a1208
commit
ca07ff1208
|
@ -48,7 +48,7 @@ vector<tok> lex(const string& in)
|
|||
case PLUS: case HYPHEN: case LCOMP: case RCOMP:
|
||||
case DOT: case DOLLAR_SIGN: case SQUOTE:
|
||||
insertToken: resVal.emplace_back(static_cast<tok::type>(current), lineNumber);
|
||||
[[likely]] case ' ': case '\t': case '\r': break;
|
||||
[[likely]] case ' ': case '\t': case '\r': case ';': break;
|
||||
[[likely]] case '\n': ++lineNumber; break;
|
||||
default: {
|
||||
const tok::type type = getIdentifierCharType(current);
|
||||
|
|
Loading…
Reference in New Issue