lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 4d7cfff6df9cbd5a60bfa41acf4bcc93413b038f
parent be822a5f1c0a0cd3f63790ffe761b6a13a69134f
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 22 Nov 2006 09:01:40 -0200

comments

Diffstat:
Mlobject.c | 4++--
Mlparser.c | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lobject.c b/lobject.c @@ -1,5 +1,5 @@ /* -** $Id: lobject.c,v 2.22 2006/02/10 17:43:52 roberto Exp roberto $ +** $Id: lobject.c,v 2.23 2006/07/11 15:53:29 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ @@ -33,7 +33,7 @@ const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL}; ** eeeee != 0 and (xxx) otherwise. */ int luaO_int2fb (unsigned int x) { - int e = 0; /* expoent */ + int e = 0; /* exponent */ if (x < 8) return x; while (x >= 0x10) { x = (x+1) >> 1; diff --git a/lparser.c b/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 2.48 2006/09/14 18:42:28 roberto Exp roberto $ +** $Id: lparser.c,v 2.49 2006/10/24 13:31:48 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -820,7 +820,7 @@ static const struct { lu_byte left; /* left priority for each binary operator */ lu_byte right; /* right priority */ } priority[] = { /* ORDER OPR */ - {6, 6}, {6, 6}, {7, 7}, {7, 7}, {7, 7}, /* `+' `-' `/' `%' */ + {6, 6}, {6, 6}, {7, 7}, {7, 7}, {7, 7}, /* `+' `-' `*' `/' `%' */ {10, 9}, {5, 4}, /* power and concat (right associative) */ {3, 3}, {3, 3}, /* equality and inequality */ {3, 3}, {3, 3}, {3, 3}, {3, 3}, /* order */