diff options
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -651,6 +651,9 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci, | |||
| 651 | case OP_SHRI: case OP_SHLI: | 651 | case OP_SHRI: case OP_SHLI: |
| 652 | *name = "shift"; | 652 | *name = "shift"; |
| 653 | return "metamethod"; | 653 | return "metamethod"; |
| 654 | case OP_CLOSE: case OP_RETURN: | ||
| 655 | *name = "close"; | ||
| 656 | return "metamethod"; | ||
| 654 | default: | 657 | default: |
| 655 | return NULL; /* cannot find a reasonable name */ | 658 | return NULL; /* cannot find a reasonable name */ |
| 656 | } | 659 | } |
