aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-04 22:52:12 +0100
committergingerBill <bill@gingerbill.org>2021-07-04 22:52:12 +0100
commitc6b9b3b9a41d6e049d39780933067d44cf2b6469 (patch)
tree27c0b861b000b19cde814058d00c85a8b3a58fd1 /src/parser.cpp
parenta4be1a5e4c9d76b617fe17f564dc97e325e6fec8 (diff)
Fix `try` parsing for expression statements
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 641c4141f..65626ca36 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -4385,6 +4385,7 @@ Ast *parse_stmt(AstFile *f) {
case Token_String:
case Token_OpenParen:
case Token_Pointer:
+ case Token_try:
case Token_asm: // Inline assembly
// Unary Operators
case Token_Add: