diff options
-rw-r--r-- | ltests.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.207 2015/07/01 17:47:12 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.208 2015/09/08 16:55:43 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1001,6 +1001,11 @@ static int getnum_aux (lua_State *L, lua_State *L1, const char **pc) { | |||
1001 | (*pc)++; | 1001 | (*pc)++; |
1002 | return res; | 1002 | return res; |
1003 | } | 1003 | } |
1004 | else if (**pc == '*') { | ||
1005 | res = lua_gettop(L1); | ||
1006 | (*pc)++; | ||
1007 | return res; | ||
1008 | } | ||
1004 | else if (**pc == '-') { | 1009 | else if (**pc == '-') { |
1005 | sig = -1; | 1010 | sig = -1; |
1006 | (*pc)++; | 1011 | (*pc)++; |