diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-02-05 17:09:09 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-02-05 17:09:09 -0200 |
commit | 3bae8e047c0f7afd550d8ae5c0c5c2557a4c780e (patch) | |
tree | 30a8bf09b37decb7bc9122cf6f9b9019b1152829 | |
parent | 4f5f2fe36732d7809a4c0e0856cb9aca02e9ce24 (diff) | |
download | lua-3bae8e047c0f7afd550d8ae5c0c5c2557a4c780e.tar.gz lua-3bae8e047c0f7afd550d8ae5c0c5c2557a4c780e.tar.bz2 lua-3bae8e047c0f7afd550d8ae5c0c5c2557a4c780e.zip |
typo (thanks to Gavin)
-rw-r--r-- | lobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 2.33 2009/11/19 19:06:52 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.34 2009/11/26 11:39:20 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -96,7 +96,7 @@ lua_Number luaO_arith (int op, lua_Number v1, lua_Number v2) { | |||
96 | case LUA_OPDIV: return luai_numdiv(NULL, v1, v2); | 96 | case LUA_OPDIV: return luai_numdiv(NULL, v1, v2); |
97 | case LUA_OPMOD: return luai_nummod(NULL, v1, v2); | 97 | case LUA_OPMOD: return luai_nummod(NULL, v1, v2); |
98 | case LUA_OPPOW: return luai_numpow(NULL, v1, v2); | 98 | case LUA_OPPOW: return luai_numpow(NULL, v1, v2); |
99 | case LUA_OPUNM: return luai_numunm(N, v1); | 99 | case LUA_OPUNM: return luai_numunm(NULL, v1); |
100 | default: lua_assert(0); return 0; | 100 | default: lua_assert(0); return 0; |
101 | } | 101 | } |
102 | } | 102 | } |