Lines Matching refs:seminfo
219 static void trydecpoint (LexState *ls, SemInfo *seminfo) { in trydecpoint() argument
223 if (!buff2d(ls->buff, &seminfo->r)) { in trydecpoint()
236 static void read_numeral (LexState *ls, SemInfo *seminfo) { in read_numeral() argument
252 if (!buff2d(ls->buff, &seminfo->r)) /* format error? */ in read_numeral()
253 trydecpoint(ls, seminfo); /* try to update decimal point separator */ in read_numeral()
274 static void read_long_string (LexState *ls, SemInfo *seminfo, int sep) { in read_long_string() argument
281 lexerror(ls, (seminfo) ? "unfinished long string" : in read_long_string()
294 if (!seminfo) luaZ_resetbuffer(ls->buff); /* avoid wasting space */ in read_long_string()
298 if (seminfo) save_and_next(ls); in read_long_string()
303 if (seminfo) in read_long_string()
304 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + (2 + sep), in read_long_string()
347 static void read_string (LexState *ls, int del, SemInfo *seminfo) { in read_string() argument
400 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1, in read_string()
405 static int llex (LexState *ls, SemInfo *seminfo) { in llex() argument
439 read_long_string(ls, seminfo, sep); in llex()
471 read_string(ls, ls->current, seminfo); in llex()
486 read_numeral(ls, seminfo); in llex()
500 seminfo->ts = ts; in llex()
525 ls->t.token = llex(ls, &ls->t.seminfo); /* read next token */ in luaX_next()
531 ls->lookahead.token = llex(ls, &ls->lookahead.seminfo); in luaX_lookahead()