Home
last modified time | relevance | path

Searched refs:makelist (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/sh/
H A Dcmd.c41 static struct trenod * makelist();
83 makelist(type, i, r) in makelist() function
136 i = makelist(TLST, i, e);
165 r = makelist((b ? TAND : TORF), r, term(NLFLG)); in list()
191 return(makefork(0, makelist(TFIL, left, right))); in term()
/titanic_50/usr/src/lib/libshell/common/sh/
H A Dparse.c52 static Shnode_t *makelist(Lex_t*, int, Shnode_t*, Shnode_t*);
298 static Shnode_t *makelist(Lex_t *lexp, int type, Shnode_t *l, Shnode_t *r) in makelist() function
507 left=makelist(lexp,TLST, left, right); in sh_cmd()
534 t = makelist(lexp,(token==ANDFSYM?TAND:TORF), t, term(lexp,SH_NL|SH_SEMI)); in list()
578 t=makelist(lexp,TFIL,t,tt); in term()
680 tf = makelist(lexp,TLST,t,tw); in arithfor()
1001 t = makelist(lexp,TLST,(Shnode_t*)ac,t); in assign()
1766 t = makelist(lp,TORF|TTEST,t,test_and(lp)); in test_or()
1774 t = makelist(lp,TAND|TTEST,t,test_primary(lp)); in test_and()
1806 t = makelist(lexp,TTST|TTEST|TPAREN ,t, (Shnode_t*)pointerof(lexp->sh->inlineno)); in test_primary()
[all …]