summary refs log tree commit diff
path: root/src/mktokens
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-10-28 17:22:16 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-10-28 17:22:16 +0800
commit7c245aa8ed33ba5db30eef9369d67036a05b0371 (patch)
treeb9cf64a4db6dd9b17b4c6b265a50966613c965d9 /src/mktokens
parent[PARSER] Removed unnecessary pungetc on EOF from parser (diff)
downloaddash-7c245aa8ed33ba5db30eef9369d67036a05b0371.tar.gz
dash-7c245aa8ed33ba5db30eef9369d67036a05b0371.zip
[PARSER] Simplify EOF/newline handling in list parser
This patch simplifies the EOF and new handling in the list parser.
In particular, it eliminates a case where we may leave here-documents
unfinished upon EOF.

It also removes special EOF/newline handling from parsecmd.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/mktokens')
0 files changed, 0 insertions, 0 deletions