Parse heredocs correctly with carriage returns (fixes #2103)

This commit is contained in:
Vidar Holen
2020-12-31 13:19:14 -08:00
parent 9584266a8b
commit 2e5c56b270
2 changed files with 9 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
is still purely cosmetic and does not allow ShellCheck to continue.
- Improved error reporting for trailing tokens after ]/]] and compound commands
- `#!/usr/bin/env -S shell` is now handled correctly
- Here docs with \r are now parsed correctly and give better warnings
### Changed
- Assignments are now parsed to spec, without leniency for leading $ or spaces