diff options
author | Li Jin <dragon-fly@qq.com> | 2020-10-22 16:02:39 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-10-22 16:02:39 +0800 |
commit | a51a728d847e790329e41c75928a81630200b63f (patch) | |
tree | 8cc8e93a7863649499537366acecb41525022a57 /src/lua/lparser.c | |
parent | f6e603cc5bef133e5e368a81f677bea92bc405b5 (diff) | |
download | yuescript-a51a728d847e790329e41c75928a81630200b63f.tar.gz yuescript-a51a728d847e790329e41c75928a81630200b63f.tar.bz2 yuescript-a51a728d847e790329e41c75928a81630200b63f.zip |
update Lua, fix cmakelists.txt.
Diffstat (limited to 'src/lua/lparser.c')
-rw-r--r-- | src/lua/lparser.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lua/lparser.c b/src/lua/lparser.c index bc7d9a4..bcdcfb6 100644 --- a/src/lua/lparser.c +++ b/src/lua/lparser.c | |||
@@ -489,12 +489,10 @@ static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) { | |||
489 | } | 489 | } |
490 | 490 | ||
491 | 491 | ||
492 | /* | 492 | #define enterlevel(ls) luaE_incCstack(ls->L) |
493 | ** Macros to limit the maximum recursion depth while parsing | 493 | |
494 | */ | ||
495 | #define enterlevel(ls) luaE_enterCcall((ls)->L) | ||
496 | 494 | ||
497 | #define leavelevel(ls) luaE_exitCcall((ls)->L) | 495 | #define leavelevel(ls) ((ls)->L->nCcalls--) |
498 | 496 | ||
499 | 497 | ||
500 | /* | 498 | /* |