Ignore ';' characters

This commit is contained in:
Username404 2021-12-22 20:37:55 +01:00
parent c16a0a1208
commit ca07ff1208
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -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);