diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-04-21 15:26:48 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-04-21 15:26:48 +0800 |
| commit | 3af701f4f06d09e45eb65ff4eb9a591bc7ca4a3a (patch) | |
| tree | ab31d51f94baa8f79907bd8c4c04ed06959ec2d2 /src/MoonP/moon_ast.h | |
| parent | e513c1e9da47bc03a8d5296d69c019639469c42d (diff) | |
| download | yuescript-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.h | 1 |
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) | |||
| 184 | AST_END(ExpList) | 184 | AST_END(ExpList) |
| 185 | 185 | ||
| 186 | AST_NODE(Return) | 186 | AST_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) |
| 189 | AST_END(Return) | 190 | AST_END(Return) |
