diff options
| -rw-r--r-- | lobject.c | 4 | ||||
| -rw-r--r-- | lparser.c | 4 |
2 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 2.22 2006/02/10 17:43:52 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.23 2006/07/11 15:53:29 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 | */ |
| @@ -33,7 +33,7 @@ const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL}; | |||
| 33 | ** eeeee != 0 and (xxx) otherwise. | 33 | ** eeeee != 0 and (xxx) otherwise. |
| 34 | */ | 34 | */ |
| 35 | int luaO_int2fb (unsigned int x) { | 35 | int luaO_int2fb (unsigned int x) { |
| 36 | int e = 0; /* expoent */ | 36 | int e = 0; /* exponent */ |
| 37 | if (x < 8) return x; | 37 | if (x < 8) return x; |
| 38 | while (x >= 0x10) { | 38 | while (x >= 0x10) { |
| 39 | x = (x+1) >> 1; | 39 | x = (x+1) >> 1; |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lparser.c,v 2.48 2006/09/14 18:42:28 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.49 2006/10/24 13:31:48 roberto Exp roberto $ |
| 3 | ** Lua Parser | 3 | ** Lua Parser |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -820,7 +820,7 @@ static const struct { | |||
| 820 | lu_byte left; /* left priority for each binary operator */ | 820 | lu_byte left; /* left priority for each binary operator */ |
| 821 | lu_byte right; /* right priority */ | 821 | lu_byte right; /* right priority */ |
| 822 | } priority[] = { /* ORDER OPR */ | 822 | } priority[] = { /* ORDER OPR */ |
| 823 | {6, 6}, {6, 6}, {7, 7}, {7, 7}, {7, 7}, /* `+' `-' `/' `%' */ | 823 | {6, 6}, {6, 6}, {7, 7}, {7, 7}, {7, 7}, /* `+' `-' `*' `/' `%' */ |
| 824 | {10, 9}, {5, 4}, /* power and concat (right associative) */ | 824 | {10, 9}, {5, 4}, /* power and concat (right associative) */ |
| 825 | {3, 3}, {3, 3}, /* equality and inequality */ | 825 | {3, 3}, {3, 3}, /* equality and inequality */ |
| 826 | {3, 3}, {3, 3}, {3, 3}, {3, 3}, /* order */ | 826 | {3, 3}, {3, 3}, {3, 3}, {3, 3}, /* order */ |
