From 0d12f7eceb30d8ed1bf95bb1243d4b064047a89f Mon Sep 17 00:00:00 2001 From: Username404 Date: Thu, 21 Apr 2022 23:41:28 +0200 Subject: [PATCH] Parser.hpp: Replace ';' with SEMICOLON Signed-off-by: Username404 --- src/headers/parsing/Parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index c5a3939..a52f3db 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -102,7 +102,7 @@ namespace Parser { parseTree << Reference(current.toktext); } } - case ';': break; + case SEMICOLON: break; case LPAR: case LBRACE: case LBRACKET: { const auto closingCharacter = find_corresponding(lexed.begin() + i + 1, lexed.end(), current.toktype, tok::inverseLCharacter(current.toktype)); vector subTokens(lexed.begin() + i + 1, closingCharacter);