aboutsummaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-21 11:30:15 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-21 11:30:15 -0200
commit96ea2e0fb462789015824823801ba34782364b68 (patch)
tree4d8a4a0792a8fd51f16cf00af347b45313ccdc87 /fallback.c
parent93ccdd52ef83e283f7357c7e9de3a8773b26a16d (diff)
downloadlua-96ea2e0fb462789015824823801ba34782364b68.tar.gz
lua-96ea2e0fb462789015824823801ba34782364b68.tar.bz2
lua-96ea2e0fb462789015824823801ba34782364b68.zip
fallback to unary minus is 'arith' with operation code 'unm'
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fallback.c b/fallback.c
index f99fe63d..a41712cc 100644
--- a/fallback.c
+++ b/fallback.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_fallback="$Id: fallback.c,v 1.6 1994/11/16 17:38:08 roberto Exp roberto $"; 6char *rcs_fallback="$Id: fallback.c,v 1.7 1994/11/18 19:46:21 roberto Exp roberto $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9 9
@@ -33,7 +33,6 @@ struct FB luaI_fallBacks[] = {
33{"arith", {LUA_T_CFUNCTION, arithFB}}, 33{"arith", {LUA_T_CFUNCTION, arithFB}},
34{"order", {LUA_T_CFUNCTION, orderFB}}, 34{"order", {LUA_T_CFUNCTION, orderFB}},
35{"concat", {LUA_T_CFUNCTION, concatFB}}, 35{"concat", {LUA_T_CFUNCTION, concatFB}},
36{"unminus", {LUA_T_CFUNCTION, arithFB}},
37{"settable", {LUA_T_CFUNCTION, gettableFB}}, 36{"settable", {LUA_T_CFUNCTION, gettableFB}},
38{"gc", {LUA_T_CFUNCTION, GDFB}} 37{"gc", {LUA_T_CFUNCTION, GDFB}}
39}; 38};