| 7645 | |
| 7646 | |
| 7647 | static void errorlimit (FuncState *fs, int limit, const char *what) { |
| 7648 | const char *msg = (fs->f->linedefined == 0) ? |
| 7649 | luaO_pushfstring(fs->L, "main function has more than %d %s", limit, what) : |
| 7650 | luaO_pushfstring(fs->L, "function at line %d has more than %d %s", |
| 7651 | fs->f->linedefined, limit, what); |
| 7652 | luaX_lexerror(fs->ls, msg, 0); |
| 7653 | } |
| 7654 | |
| 7655 | |
| 7656 | static int testnext (LexState *ls, int c) { |
nothing calls this directly
no test coverage detected