aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-08-30 20:06:02 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-08-30 20:06:02 -0400
commit6ab8b2aab4b146a7d1d882686199eace19989011 (patch)
tree8ef3d1b06c79982b3c8709d93b8b1db25be2eac2 /src/parser.cpp
parent2148943fff5af1e31f75b1e6651f0b7614e7e36a (diff)
downloadzig-6ab8b2aab4b146a7d1d882686199eace19989011.tar.gz
zig-6ab8b2aab4b146a7d1d882686199eace19989011.zip
support recursive async and non-async functions
which heap allocate their own frames related: #1006
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 6cd6c2f045..21bbc4d246 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -2075,7 +2075,7 @@ static AstNode *ast_parse_param_decl(ParseContext *pc) {
res->column = first->start_column;
res->data.param_decl.name = token_buf(name);
res->data.param_decl.is_noalias = first->id == TokenIdKeywordNoAlias;
- res->data.param_decl.is_inline = first->id == TokenIdKeywordCompTime;
+ res->data.param_decl.is_comptime = first->id == TokenIdKeywordCompTime;
return res;
}