diff options
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.98 2000/03/27 20:08:02 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.99 2000/03/27 20:10:21 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 | */ |
@@ -386,12 +386,6 @@ void luaB_tostring (lua_State *L) { | |||
386 | case TAG_LCLOSURE: case TAG_CCLOSURE: | 386 | case TAG_LCLOSURE: case TAG_CCLOSURE: |
387 | sprintf(buff, "function: %p", o->value.cl); | 387 | sprintf(buff, "function: %p", o->value.cl); |
388 | break; | 388 | break; |
389 | case TAG_LPROTO: | ||
390 | sprintf(buff, "function: %p", o->value.tf); | ||
391 | break; | ||
392 | case TAG_CPROTO: | ||
393 | sprintf(buff, "function: %p", o->value.f); | ||
394 | break; | ||
395 | case TAG_USERDATA: | 389 | case TAG_USERDATA: |
396 | sprintf(buff, "userdata: %p(%d)", o->value.ts->u.d.value, | 390 | sprintf(buff, "userdata: %p(%d)", o->value.ts->u.d.value, |
397 | o->value.ts->u.d.tag); | 391 | o->value.ts->u.d.tag); |