From 3af701f4f06d09e45eb65ff4eb9a591bc7ca4a3a Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 21 Apr 2020 15:26:48 +0800 Subject: allow implicit return block macro, fix compiled Lua codes searching issue. --- src/MoonP/moon_ast.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/MoonP/moon_ast.h') 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) AST_END(ExpList) AST_NODE(Return) + bool allowBlockMacroReturn = false; ast_ptr valueList; AST_MEMBER(Return, &valueList) AST_END(Return) -- cgit v1.2.3-55-g6feb