diff options
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.85 1999/12/14 18:42:57 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.86 1999/12/20 13:10:38 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -377,10 +377,10 @@ void luaB_tostring (lua_State *L) { | |||
377 | case LUA_T_ARRAY: | 377 | case LUA_T_ARRAY: |
378 | sprintf(buff, "table: %p", o->value.a); | 378 | sprintf(buff, "table: %p", o->value.a); |
379 | break; | 379 | break; |
380 | case LUA_T_CLOSURE: | 380 | case LUA_T_LCLOSURE: case LUA_T_CCLOSURE: |
381 | sprintf(buff, "function: %p", o->value.cl); | 381 | sprintf(buff, "function: %p", o->value.cl); |
382 | break; | 382 | break; |
383 | case LUA_T_PROTO: | 383 | case LUA_T_LPROTO: |
384 | sprintf(buff, "function: %p", o->value.tf); | 384 | sprintf(buff, "function: %p", o->value.tf); |
385 | break; | 385 | break; |
386 | case LUA_T_CPROTO: | 386 | case LUA_T_CPROTO: |