| 492 | |
| 493 | |
| 494 | static const char *kname (Proto *p, int c) { |
| 495 | if (ISK(c) && ttisstring(&p->k[INDEXK(c)])) |
| 496 | return svalue(&p->k[INDEXK(c)]); |
| 497 | else |
| 498 | return "?"; |
| 499 | } |
| 500 | |
| 501 | |
| 502 | static const char *getobjname (lua_State *L, CallInfo *ci, int stackpos, |