Parser.hpp: Replace ';' with SEMICOLON

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2022-04-21 23:41:28 +02:00
parent 2330b87c0f
commit 0d12f7eceb
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -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<tok> subTokens(lexed.begin() + i + 1, closingCharacter);