bug in heredoc parser wrt apostrophes
Open
bug
- Dominant language
- C
- Stars
- 531
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Trying to use `mrsh` as shell to run [`mksh/Build.sh`](http://www.mirbsd.org/cvs.cgi/src/bin/mksh/Build.sh?rev=HEAD) with fails.
MWE:
if true; then
echo one
else
cat <<'EOF'
/* apo'stroph */
EOF
#'
fi
Fails with:
syntax error: expected 'fi'
Contributor guide
Assessment
This issue has not been assessed yet.