From ca07ff1208f2317198aad6d0520082e9dcaafcaf Mon Sep 17 00:00:00 2001 From: Username404 Date: Wed, 22 Dec 2021 20:37:55 +0100 Subject: [PATCH] Ignore ';' characters --- src/etc/lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/lexer.cpp b/src/etc/lexer.cpp index 4f01473..6026624 100644 --- a/src/etc/lexer.cpp +++ b/src/etc/lexer.cpp @@ -48,7 +48,7 @@ vector 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(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);