| 89 | |
| 90 | |
| 91 | static const char *txtToken (LexState *ls, int token) { |
| 92 | switch (token) { |
| 93 | case TK_NAME: |
| 94 | case TK_STRING: |
| 95 | case TK_NUMBER: |
| 96 | save(ls, '\0'); |
| 97 | return luaO_pushfstring(ls->L, LUA_QS, luaZ_buffer(ls->buff)); |
| 98 | default: |
| 99 | return luaX_token2str(ls, token); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | |
| 104 | static l_noret lexerror (LexState *ls, const char *msg, int token) { |
no test coverage detected