Lines Matching refs:luaL_error
125 return luaL_error(L, "resulting string too large"); in str_rep()
154 return luaL_error(L, "string slice too long"); in str_byte()
191 return luaL_error(L, "unable to dump given function"); in str_dump()
240 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
249 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
257 luaL_error(ms->L, "malformed pattern (ends with " LUA_QL("%%") ")"); in classend()
264 luaL_error(ms->L, "malformed pattern (missing " LUA_QL("]") ")"); in classend()
339 luaL_error(ms->L, "malformed pattern " in matchbalance()
389 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
423 luaL_error(ms->L, "pattern too complex"); in match()
457 luaL_error(ms->L, "missing " LUA_QL("[") " after " in match()
553 luaL_error(ms->L, "invalid capture index"); in push_onecapture()
557 if (l == CAP_UNFINISHED) luaL_error(ms->L, "unfinished capture"); in push_onecapture()
700 luaL_error(ms->L, "invalid use of " LUA_QL("%c") in add_s()
741 luaL_error(L, "invalid replacement value (a %s)", luaL_typename(L, -1)); in add_value()
872 luaL_error(L, "invalid format (repeated flags)"); in scanformat()
881 luaL_error(L, "invalid format (width or precision too long)"); in scanformat()
979 return luaL_error(L, "invalid option " LUA_QL("%%%c") " to " in str_format()