merge lua bugfix from lua offical bugs page

This commit is contained in:
Cloud Wu
2015-04-13 17:14:08 +08:00
parent 0298997d23
commit 012d98380d
2 changed files with 15 additions and 8 deletions

View File

@@ -94,6 +94,7 @@ typedef struct CallInfo {
#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */
#define CIST_TAIL (1<<5) /* call was tail called */
#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */
#define CIST_LEQ (1<<7) /* using __lt for __le */
#define isLua(ci) ((ci)->callstatus & CIST_LUA)