diff options
| -rw-r--r-- | lstate.h | 4 | ||||
| -rw-r--r-- | lstrlib.c | 4 | ||||
| -rw-r--r-- | luaconf.h | 6 | ||||
| -rw-r--r-- | lvm.c | 4 |
4 files changed, 9 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 2.66 2010/09/03 14:14:01 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.67 2010/09/30 17:21:31 roberto Exp roberto $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -66,7 +66,7 @@ typedef struct stringtable { | |||
| 66 | 66 | ||
| 67 | 67 | ||
| 68 | /* | 68 | /* |
| 69 | ** informations about a call | 69 | ** information about a call |
| 70 | */ | 70 | */ |
| 71 | typedef struct CallInfo { | 71 | typedef struct CallInfo { |
| 72 | StkId func; /* function index in the stack */ | 72 | StkId func; /* function index in the stack */ |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstrlib.c,v 1.154 2010/07/02 11:38:13 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.155 2010/10/25 19:01:37 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 | */ |
| @@ -424,7 +424,7 @@ static const char *match (MatchState *ms, const char *s, const char *p) { | |||
| 424 | default: goto dflt; | 424 | default: goto dflt; |
| 425 | } | 425 | } |
| 426 | } | 426 | } |
| 427 | default: dflt: { /* pattern class plus optional sufix */ | 427 | default: dflt: { /* pattern class plus optional suffix */ |
| 428 | const char *ep = classend(ms, p); /* points to what is next */ | 428 | const char *ep = classend(ms, p); /* points to what is next */ |
| 429 | int m = s < ms->src_end && singlematch(uchar(*s), p, ep); | 429 | int m = s < ms->src_end && singlematch(uchar(*s), p, ep); |
| 430 | switch (*ep) { | 430 | switch (*ep) { |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.146 2010/10/28 15:18:25 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.147 2010/10/29 11:13:21 roberto Exp roberto $ |
| 3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -457,7 +457,7 @@ | |||
| 457 | #if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) && \ | 457 | #if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) && \ |
| 458 | !defined(LUA_NOIEEE754TRICK) /* { */ | 458 | !defined(LUA_NOIEEE754TRICK) /* { */ |
| 459 | 459 | ||
| 460 | /* On a Microsoft compiler on a Pentium, use assembler to avoid chashes | 460 | /* On a Microsoft compiler on a Pentium, use assembler to avoid clashes |
| 461 | with a DirectX idiosyncrasy */ | 461 | with a DirectX idiosyncrasy */ |
| 462 | #if defined(_MSC_VER) && defined(M_IX86) /* { */ | 462 | #if defined(_MSC_VER) && defined(M_IX86) /* { */ |
| 463 | 463 | ||
| @@ -473,7 +473,7 @@ | |||
| 473 | union luai_Cast { double l_d; LUA_INT32 l_p[2]; }; | 473 | union luai_Cast { double l_d; LUA_INT32 l_p[2]; }; |
| 474 | 474 | ||
| 475 | /* | 475 | /* |
| 476 | @@ LUA_IEEEENDIAN is the endianess of doubles in your machine | 476 | @@ LUA_IEEEENDIAN is the endianness of doubles in your machine |
| 477 | @@ (0 for little endian, 1 for big endian); if not defined, Lua will | 477 | @@ (0 for little endian, 1 for big endian); if not defined, Lua will |
| 478 | @@ check it dynamically. | 478 | @@ check it dynamically. |
| 479 | */ | 479 | */ |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 2.123 2010/06/30 14:11:17 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.124 2010/10/25 19:01:37 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 | */ |
| @@ -301,7 +301,7 @@ void luaV_concat (lua_State *L, int total) { | |||
| 301 | setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); | 301 | setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); |
| 302 | } | 302 | } |
| 303 | total -= n-1; /* got 'n' strings to create 1 new */ | 303 | total -= n-1; /* got 'n' strings to create 1 new */ |
| 304 | L->top -= n-1; /* poped 'n' strings and pushed one */ | 304 | L->top -= n-1; /* popped 'n' strings and pushed one */ |
| 305 | } while (total > 1); /* repeat until only 1 result left */ | 305 | } while (total > 1); /* repeat until only 1 result left */ |
| 306 | } | 306 | } |
| 307 | 307 | ||
