Parser.hpp: Replace ';' with SEMICOLON
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
2330b87c0f
commit
0d12f7eceb
|
@ -102,7 +102,7 @@ namespace Parser {
|
||||||
parseTree << Reference(current.toktext);
|
parseTree << Reference(current.toktext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case ';': break;
|
case SEMICOLON: break;
|
||||||
case LPAR: case LBRACE: case LBRACKET: {
|
case LPAR: case LBRACE: case LBRACKET: {
|
||||||
const auto closingCharacter = find_corresponding(lexed.begin() + i + 1, lexed.end(), current.toktype, tok::inverseLCharacter(current.toktype));
|
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);
|
vector<tok> subTokens(lexed.begin() + i + 1, closingCharacter);
|
||||||
|
|
Loading…
Reference in New Issue