Actually call ParseTryStatement.
This commit is contained in:
parent
28ece69be6
commit
85e3a6db43
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue