Lines Matching defs:n2
115 static union node *makebinary(int type, union node *n1, union node *n2);
268 union node *ntop, *n1, *n2, *n3;
276 n2 = andor();
279 if (n2 != NULL && n2->type == NPIPE) {
280 n2->npipe.backgnd = 1;
281 } else if (n2 != NULL && n2->type == NREDIR) {
282 n2->type = NBACKGND;
286 n3->nredir.n = n2;
288 n2 = n3;
292 ntop = n2;
294 n1 = makebinary(NSEMI, ntop, n2);
298 n3 = makebinary(NSEMI, n1->nbinary.ch2, n2);
364 union node *n1, *n2, *pipenode;
399 n2 = (union node *)stalloc(sizeof (struct nnot));
400 n2->type = NNOT;
401 n2->nnot.com = n1;
402 return n2;
412 union node *n1, *n2;
427 *rpp = n2 = redirnode;
428 rpp = &n2->nfile.next;
441 n2 = n1;
443 n2->nif.elsepart = (union node *)stalloc(sizeof (struct nif));
444 n2 = n2->nif.elsepart;
445 n2->type = NIF;
446 if ((n2->nif.test = list(0)) == NULL)
449 n2->nif.ifpart = list(0);
452 n2->nif.elsepart = list(0);
454 n2->nif.elsepart = NULL;
481 n2 = makename();
482 *app = n2;
483 app = &n2->narg.next;
495 n2 = (union node *)stalloc(sizeof (struct narg));
496 n2->type = NARG;
497 n2->narg.text = argvars;
498 n2->narg.backquote = NULL;
499 n2->narg.next = NULL;
500 n1->nfor.args = n2;
600 *rpp = n2 = redirnode;
601 rpp = &n2->nfile.next;
608 n2 = (union node *)stalloc(sizeof (struct nredir));
609 n2->type = NREDIR;
610 n2->nredir.n = n1;
611 n1 = n2;
709 makebinary(int type, union node *n1, union node *n2)
716 n->nbinary.ch2 = n2;