diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-08-14 15:12:34 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-08-14 15:12:34 -0300 |
commit | 53480f1163a65cc683b00663e2fa4883746ce7fb (patch) | |
tree | f415a4d7e76fa59d766b46511d426f0dc8c109c2 | |
parent | 233eac4d3a5ef126ce77a93fee52f5b4eb789969 (diff) | |
download | lua-53480f1163a65cc683b00663e2fa4883746ce7fb.tar.gz lua-53480f1163a65cc683b00663e2fa4883746ce7fb.tar.bz2 lua-53480f1163a65cc683b00663e2fa4883746ce7fb.zip |
details (remove of some extra spaces)
-rw-r--r-- | lapi.c | 6 | ||||
-rw-r--r-- | lcode.c | 4 | ||||
-rw-r--r-- | lstrlib.c | 8 | ||||
-rw-r--r-- | lvm.c | 4 |
4 files changed, 11 insertions, 11 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.163 2012/05/23 15:42:27 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.164 2012/06/08 15:14:04 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -281,7 +281,7 @@ LUA_API int lua_rawequal (lua_State *L, int index1, int index2) { | |||
281 | } | 281 | } |
282 | 282 | ||
283 | 283 | ||
284 | LUA_API void lua_arith (lua_State *L, int op) { | 284 | LUA_API void lua_arith (lua_State *L, int op) { |
285 | StkId o1; /* 1st operand */ | 285 | StkId o1; /* 1st operand */ |
286 | StkId o2; /* 2nd operand */ | 286 | StkId o2; /* 2nd operand */ |
287 | lua_lock(L); | 287 | lua_lock(L); |
@@ -1006,7 +1006,7 @@ LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { | |||
1006 | } | 1006 | } |
1007 | 1007 | ||
1008 | 1008 | ||
1009 | LUA_API int lua_status (lua_State *L) { | 1009 | LUA_API int lua_status (lua_State *L) { |
1010 | return L->status; | 1010 | return L->status; |
1011 | } | 1011 | } |
1012 | 1012 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 2.59 2011/08/15 19:41:58 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.60 2011/08/30 16:26:41 roberto Exp roberto $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -426,7 +426,7 @@ static void discharge2reg (FuncState *fs, expdesc *e, int reg) { | |||
426 | luaK_nil(fs, reg, 1); | 426 | luaK_nil(fs, reg, 1); |
427 | break; | 427 | break; |
428 | } | 428 | } |
429 | case VFALSE: case VTRUE: { | 429 | case VFALSE: case VTRUE: { |
430 | luaK_codeABC(fs, OP_LOADBOOL, reg, e->k == VTRUE, 0); | 430 | luaK_codeABC(fs, OP_LOADBOOL, reg, e->k == VTRUE, 0); |
431 | break; | 431 | break; |
432 | } | 432 | } |
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.176 2012/05/23 15:37:09 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.177 2012/07/31 17:48:42 roberto Exp roberto $ |
3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -914,7 +914,7 @@ static int str_format (lua_State *L) { | |||
914 | nb = sprintf(buff, form, luaL_checkint(L, arg)); | 914 | nb = sprintf(buff, form, luaL_checkint(L, arg)); |
915 | break; | 915 | break; |
916 | } | 916 | } |
917 | case 'd': case 'i': { | 917 | case 'd': case 'i': { |
918 | lua_Number n = luaL_checknumber(L, arg); | 918 | lua_Number n = luaL_checknumber(L, arg); |
919 | LUA_INTFRM_T ni = (LUA_INTFRM_T)n; | 919 | LUA_INTFRM_T ni = (LUA_INTFRM_T)n; |
920 | lua_Number diff = n - (lua_Number)ni; | 920 | lua_Number diff = n - (lua_Number)ni; |
@@ -924,7 +924,7 @@ static int str_format (lua_State *L) { | |||
924 | nb = sprintf(buff, form, ni); | 924 | nb = sprintf(buff, form, ni); |
925 | break; | 925 | break; |
926 | } | 926 | } |
927 | case 'o': case 'u': case 'x': case 'X': { | 927 | case 'o': case 'u': case 'x': case 'X': { |
928 | lua_Number n = luaL_checknumber(L, arg); | 928 | lua_Number n = luaL_checknumber(L, arg); |
929 | unsigned LUA_INTFRM_T ni = (unsigned LUA_INTFRM_T)n; | 929 | unsigned LUA_INTFRM_T ni = (unsigned LUA_INTFRM_T)n; |
930 | lua_Number diff = n - (lua_Number)ni; | 930 | lua_Number diff = n - (lua_Number)ni; |
@@ -934,7 +934,7 @@ static int str_format (lua_State *L) { | |||
934 | nb = sprintf(buff, form, ni); | 934 | nb = sprintf(buff, form, ni); |
935 | break; | 935 | break; |
936 | } | 936 | } |
937 | case 'e': case 'E': case 'f': | 937 | case 'e': case 'E': case 'f': |
938 | #if defined(LUA_USE_AFORMAT) | 938 | #if defined(LUA_USE_AFORMAT) |
939 | case 'a': case 'A': | 939 | case 'a': case 'A': |
940 | #endif | 940 | #endif |
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 2.151 2012/05/14 17:50:49 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.152 2012/06/08 15:14:04 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -470,7 +470,7 @@ void luaV_finishOp (lua_State *L) { | |||
470 | L->top = ci->top; /* adjust results */ | 470 | L->top = ci->top; /* adjust results */ |
471 | break; | 471 | break; |
472 | } | 472 | } |
473 | case OP_TAILCALL: case OP_SETTABUP: case OP_SETTABLE: | 473 | case OP_TAILCALL: case OP_SETTABUP: case OP_SETTABLE: |
474 | break; | 474 | break; |
475 | default: lua_assert(0); | 475 | default: lua_assert(0); |
476 | } | 476 | } |