Style fixes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-11-01 13:50:35 +01:00
parent c4d7c9e2d8
commit e30bfe1686
7 changed files with 10 additions and 11 deletions

View File

@@ -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);
}