Home
last modified time | relevance | path

Searched refs:TK_EOS (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dllex.c80 if (token < TK_EOS) /* fixed format (symbols and reserved words)? */ in luaX_token2str()
161 ls->lookahead.token = TK_EOS; /* no look-ahead token */ in luaX_setinput()
275 "unfinished long comment", TK_EOS); in read_long_string()
345 lexerror(ls, "unfinished string", TK_EOS); in read_string()
487 return TK_EOS; in llex()
517 if (ls->lookahead.token != TK_EOS) { /* is there a look-ahead token? */ in luaX_next()
519 ls->lookahead.token = TK_EOS; /* and discharge it */ in luaX_next()
527 lua_assert(ls->lookahead.token == TK_EOS); in luaX_lookahead()
H A Dllex.h30 TK_CONCAT, TK_DOTS, TK_EQ, TK_GE, TK_LE, TK_NE, TK_DBCOLON, TK_EOS, enumerator
H A Dlparser.c60 lua_assert(ls->fs != NULL || ls->t.token == TK_EOS); in anchor_token()
594 case TK_END: case TK_EOS: in block_follow()
1618 check(ls, TK_EOS); in mainfunc()
/freebsd/contrib/lua/src/
H A Dllex.c91 if (token < TK_EOS) /* fixed format (symbols and reserved words)? */ in luaX_token2str()
172 ls->lookahead.token = TK_EOS; /* no look-ahead token */ in luaX_setinput()
291 lexerror(ls, msg, TK_EOS); in read_long_string()
387 lexerror(ls, "unfinished string", TK_EOS); in read_string()
537 return TK_EOS; in llex()
567 if (ls->lookahead.token != TK_EOS) { /* is there a look-ahead token? */ in luaX_next()
569 ls->lookahead.token = TK_EOS; /* and discharge it */ in luaX_next()
577 lua_assert(ls->lookahead.token == TK_EOS); in luaX_lookahead()
H A Dllex.h41 TK_DBCOLON, TK_EOS, enumerator
H A Dlparser.c791 case TK_END: case TK_EOS: in block_follow()
1936 check(ls, TK_EOS); in mainfunc()