Home | History | Annotate | Download | only in sh

Lines Matching defs:here

83 	struct HereDoc *next;	/* next here document in list */
84 union node *here; /* redirection node */
131 static const char EOFhere[] = "EOF reading here (<<) document";
177 error("%d: Here document (<<%s) expected but not present",
442 * Newline or semicolon here is optional (but note
680 * Fortunately here the user can simply quote
775 struct HereDoc *here = heredoc;
780 VTRACE(DBG_PARSE, ("Here document %d @%d\n", n->type, plinno));
781 if (here->striptabs) {
802 here->eofmark = wordtext;
803 here->next = NULL;
805 heredoclist = here;
809 p->next = here;
819 * Check to see whether we are at the end of the here document. When this
821 * we are at the end of the here document, this routine sets the c to PEOF.
867 * Input any here documents.
905 * we must handle \ followed by \n here
908 * when the here doc is expanded.
966 struct HereDoc *here;
976 here = heredoclist;
977 heredoclist = here->next;
983 l = slurp_heredoc(here->eofmark, here->striptabs,
984 here->here->nhere.type == NHERE);
986 here->here->nhere.doc = n = makeword(line);
988 if (here->here->nhere.type == NHERE)
992 * Now "parse" here docs that have unquoted eofmarkers.
995 VTRACE(DBG_PARSE, ("Reprocessing %d line here doc from %d\n",
1082 * [Change comment: here documents and internal procedures]
1208 * is not NULL, read a here document. In the latter case, eofmark is the
1446 * Because the entire `...` is read here, we don't
1633 heredoc->here = np;
1764 /* XXX should we use iconv here. What locale? */
1775 * the cases here (0xc0 | anything) cannot be between 0x80 and 0x9f
1881 * quote character itself is not special (used parsing here docs and similar)
2039 /* Ignore inside quoted here document */
2054 /* Ignore inside here document */
2643 * should be added here.