Lines Matching defs:here
83 struct heredoc *next; /* next here document in list */
84 union node *here; /* redirection node */
95 static struct heredoc *heredoclist; /* list of here documents to read */
500 * Newline or semicolon here is optional (but note
752 struct heredoc *here = heredoc;
759 if (here->striptabs) {
766 here->eofmark = wordtext;
767 here->next = NULL;
769 heredoclist = here;
772 p->next = here;
783 * Input any here documents.
789 struct heredoc *here;
793 here = heredoclist;
794 heredoclist = here->next;
799 readtoken1(pgetc(), here->here->type == NHERE? SQSYNTAX : DQSYNTAX,
800 here->eofmark, here->striptabs);
802 here->here->nhere.doc = n;
884 * [Change comment: here documents and internal procedures]
1000 struct heredoc *here;
1132 here = saveheredoclist;
1133 if (here != NULL) {
1134 while (here->next != NULL)
1135 here = here->next;
1136 here->next = heredoclist;
1241 /* We really need iconv here. */
1295 * is not NULL, read a here document. In the latter case, eofmark is the
1339 CHECKEND(); /* set c to PEOF if at end of here document */
1520 * Check to see whether we are at the end of the here document. When this
1522 * we are at the end of the here document, this routine sets the c to PEOF.
1587 heredoc->here = np;
1780 * in here documents.
1946 * should be added here.
2071 error("Command substitution not allowed here");