diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-21 11:30:15 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-21 11:30:15 -0200 |
commit | 96ea2e0fb462789015824823801ba34782364b68 (patch) | |
tree | 4d8a4a0792a8fd51f16cf00af347b45313ccdc87 /fallback.c | |
parent | 93ccdd52ef83e283f7357c7e9de3a8773b26a16d (diff) | |
download | lua-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_fallback="$Id: fallback.c,v 1.6 1994/11/16 17:38:08 roberto Exp roberto $"; | 6 | char *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 | }; |