aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-04-10 14:56:25 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-04-10 14:56:25 -0300
commitae76c39712852d14514f9ef19ac332e961749d93 (patch)
tree33fbd2d0a5c375048eade2a14c0cb606a8c5bba4 /lstate.h
parent0d4a1f71db1400a21654fc46b7e93a27db7641ae (diff)
downloadlua-ae76c39712852d14514f9ef19ac332e961749d93.tar.gz
lua-ae76c39712852d14514f9ef19ac332e961749d93.tar.bz2
lua-ae76c39712852d14514f9ef19ac332e961749d93.zip
Bug: suspended '__le' metamethod can give wrong result
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 285dfd82..5c9b0233 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.119 2014/10/30 18:53:28 roberto Exp roberto $ 2** $Id: lstate.h,v 2.120 2015/03/04 13:31:21 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -94,6 +94,7 @@ typedef struct CallInfo {
94#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */ 94#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */
95#define CIST_TAIL (1<<5) /* call was tail called */ 95#define CIST_TAIL (1<<5) /* call was tail called */
96#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */ 96#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */
97#define CIST_LEQ (1<<7) /* using __lt for __le */
97 98
98#define isLua(ci) ((ci)->callstatus & CIST_LUA) 99#define isLua(ci) ((ci)->callstatus & CIST_LUA)
99 100