| 6800 | |
| 6801 | |
| 6802 | static const char *txtToken (LexState *ls, int token) { |
| 6803 | switch (token) { |
| 6804 | case TK_NAME: |
| 6805 | case TK_STRING: |
| 6806 | case TK_NUMBER: |
| 6807 | save(ls, '\0'); |
| 6808 | return luaZ_buffer(ls->buff); |
| 6809 | default: |
| 6810 | return luaX_token2str(ls, token); |
| 6811 | } |
| 6812 | } |
| 6813 | |
| 6814 | |
| 6815 | void luaX_lexerror (LexState *ls, const char *msg, int token) { |
no test coverage detected