Actually call ParseTryStatement.

This commit is contained in:
Deukhoofd 2021-01-02 11:54:16 +01:00
parent 28ece69be6
commit 85e3a6db43
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 0 deletions

View File

@ -574,6 +574,7 @@ namespace MalachScript::Parser {
case LexTokenKind::BreakKeyword: return ParseBreak(out, currentToken, log);
case LexTokenKind::ContinueKeyword: return ParseContinue(out, currentToken, log);
case LexTokenKind::DoKeyword: return ParseDoWhileStatement(out, currentToken, log);
case LexTokenKind::TryKeyword: return ParseTryStatement(out, currentToken, log);
default: return ParseStatBlock(out, currentToken, log) || ParseExprStat(out, currentToken, log);
}
return false;