summaryrefslogtreecommitdiff
path: root/68000
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-01-07 20:50:00 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-01-07 20:50:00 +0000
commit369cba5f938d3f804210b6e09d36c6f7ecb017fa (patch)
treed669ae599d264b3382785aa71f737984df0aece5 /68000
parent70edb7fbae4f0a38593c0dc1f936838adc6861ac (diff)
rc: read heredoc when receiving '\n' (thanks Eckard Brauer)
Eckard's test case: cat <<! | cat asdf ! The issue is that we have to continue parsing until we see the '\n' before consuming the here document. So we revert to the old approach of having two functions: heredoc() which remembers if we'v seen a heredoc redirection and a second readhere() function that reads the doc from the lexers input and sets Tree.str on thee REDIR node.
Diffstat (limited to '68000')
0 files changed, 0 insertions, 0 deletions