Searched refs:lasttok (Results 1 – 4 of 4) sorted by relevance
55 static token lasttok; /* last token, if pushed */ variable151 *tokp = lasttok; in get_token()314 lasttok = *tokp; in unget_token()
42 int lasttok; /* previous token number */ member
431 lp->lasttok = c; in sh_lex()467 if(here_copy(lp,lp->heredoc)<=0 && lp->lasttok) in sh_lex()469 lp->lasttok = IODOCSYM; in sh_lex()1562 lp->lasttok = endtok; in comsub()1991 if((tok==EOFSYM) && lp->lasttok) in sh_syntax()1993 tok = lp->lasttok; in sh_syntax()
480 lexp->lasttok = 0; in sh_cmd()1026 int savwdval = lexp->lasttok; in item()1036 lexp->lasttok = lexp->token; in item()1054 int savetok = lexp->lasttok; in item()1068 lexp->lasttok = savetok; in item()1257 lexp->lasttok = savwdval; in item()