Improve handling of trailing tokens for []/compounds (fixes #2091)

This commit is contained in:
Vidar Holen
2020-12-06 20:30:43 -08:00
parent 7e40d97e7a
commit 8e332ce879
2 changed files with 50 additions and 17 deletions

View File

@@ -12,6 +12,7 @@
### Fixed
- SC1072/SC1073 now respond to disable annotations, though ignoring parse errors
is still purely cosmetic and does not allow ShellCheck to continue.
- Improved error reporting for trailing tokens after ]/]] and compound commands
### Changed
- Assignments are now parsed to spec, without leniency for leading $ or spaces