aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-07-28 22:58:56 +0100
committergingerBill <bill@gingerbill.org>2019-07-28 22:58:56 +0100
commit2c5c8192f8fcb40fdef183c25a8d799f23f23439 (patch)
treebc2baa8d13741dd8f7e56d5f770c091e6b9beaf2 /src/parser.cpp
parent162c87b1b810770f75920a51682a8f6b63adeba4 (diff)
Fix parsing for procedure literals expression statements; improve assert performance; other minor fixes
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 a377b773c..d1fd94c1d 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -3759,6 +3759,7 @@ Ast *parse_stmt(AstFile *f) {
switch (token.kind) {
// Operands
case Token_context: // Also allows for `context =`
+ case Token_proc:
case Token_inline:
case Token_no_inline:
case Token_Ident: