aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_ast.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-04-21 15:26:48 +0800
committerLi Jin <dragon-fly@qq.com>2020-04-21 15:26:48 +0800
commit3af701f4f06d09e45eb65ff4eb9a591bc7ca4a3a (patch)
treeab31d51f94baa8f79907bd8c4c04ed06959ec2d2 /src/MoonP/moon_ast.h
parente513c1e9da47bc03a8d5296d69c019639469c42d (diff)
downloadyuescript-3af701f4f06d09e45eb65ff4eb9a591bc7ca4a3a.tar.gz
yuescript-3af701f4f06d09e45eb65ff4eb9a591bc7ca4a3a.tar.bz2
yuescript-3af701f4f06d09e45eb65ff4eb9a591bc7ca4a3a.zip
allow implicit return block macro, fix compiled Lua codes searching issue.
Diffstat (limited to 'src/MoonP/moon_ast.h')
-rw-r--r--src/MoonP/moon_ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h
index 0743014..44a55a4 100644
--- a/src/MoonP/moon_ast.h
+++ b/src/MoonP/moon_ast.h
@@ -184,6 +184,7 @@ AST_NODE(ExpList)
184AST_END(ExpList) 184AST_END(ExpList)
185 185
186AST_NODE(Return) 186AST_NODE(Return)
187 bool allowBlockMacroReturn = false;
187 ast_ptr<false, ExpListLow_t> valueList; 188 ast_ptr<false, ExpListLow_t> valueList;
188 AST_MEMBER(Return, &valueList) 189 AST_MEMBER(Return, &valueList)
189AST_END(Return) 190AST_END(Return)