Lines Matching refs:seminfo
227 static int read_numeral (LexState *ls, SemInfo *seminfo) { in read_numeral() argument
248 seminfo->i = ivalue(&obj); in read_numeral()
253 seminfo->r = fltvalue(&obj); in read_numeral()
280 static void read_long_string (LexState *ls, SemInfo *seminfo, size_t sep) { in read_long_string() argument
288 const char *what = (seminfo ? "string" : "comment"); in read_long_string()
304 if (!seminfo) luaZ_resetbuffer(ls->buff); /* avoid wasting space */ in read_long_string()
308 if (seminfo) save_and_next(ls); in read_long_string()
313 if (seminfo) in read_long_string()
314 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + sep, in read_long_string()
382 static void read_string (LexState *ls, int del, SemInfo *seminfo) { in read_string() argument
440 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1, in read_string()
445 static int llex (LexState *ls, SemInfo *seminfo) { in llex() argument
479 read_long_string(ls, seminfo, sep); in llex()
519 read_string(ls, ls->current, seminfo); in llex()
530 else return read_numeral(ls, seminfo); in llex()
534 return read_numeral(ls, seminfo); in llex()
547 seminfo->ts = ts; in llex()
572 ls->t.token = llex(ls, &ls->t.seminfo); /* read next token */ in luaX_next()
578 ls->lookahead.token = llex(ls, &ls->lookahead.seminfo); in luaX_lookahead()