This commit is contained in:
@@ -273,7 +273,7 @@ namespace MalachScript::Parser {
|
||||
if (ParseIdentifier(identifier, current)) {
|
||||
PROGRESS_TOKEN(current);
|
||||
scope.push_back(identifier);
|
||||
if (current->GetKind() != LexTokenKind::ColonColonSymbol){
|
||||
if (current->GetKind() != LexTokenKind::ColonColonSymbol) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
@@ -494,10 +494,9 @@ namespace MalachScript::Parser {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (current->GetKind() != LexTokenKind::CloseCurlyParenthesisSymbol){
|
||||
if (current->GetKind() != LexTokenKind::CloseCurlyParenthesisSymbol) {
|
||||
LogError(Diagnostics::DiagnosticType::UnexpectedToken, current->GetSpan());
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
PROGRESS_TOKEN(current);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user