Lines Matching refs:eofmark
82 char *eofmark; /* string indicating end of input */
659 here->eofmark = wordtext;
693 here->eofmark, here->striptabs);
867 * If eofmark is NULL, read a word or a redirection symbol. If eofmark
868 * is not NULL, read a here document. In the latter case, eofmark is the
908 readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
981 if (eofmark == NULL || ISDBLQUOTE())
1002 (c != '"' || eofmark != NULL))
1006 else if (eofmark == NULL) {
1017 if (eofmark == NULL)
1023 if (eofmark != NULL && arinest == 0 &&
1039 if (eofmark != NULL && arinest == 0 &&
1057 if (eofmark != NULL)
1126 if (syntax != BASESYNTAX && ! parsebackquote && eofmark == NULL)
1136 if (eofmark == NULL) {
1165 if (eofmark) {
1170 if (c == *eofmark) {
1175 for (q = eofmark + 1 ; *q && *p == *q ; p++, q++);