Browse Source

Fix `try` parsing for expression statements

gingerBill 4 years ago
parent
commit
c6b9b3b9a4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/parser.cpp

+ 1 - 0
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: