Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scanner: scanHeredoc(): Accept any number of CRs (
\r
) at end of line.
When there are multiple cartridge returns at the end of the line, the regular expression will consider n-1 of them to be part of the string. Later, the last `\r` is removed. That may mean that a line that did previously *not* terminate a heredoc string may now terminate it, changing the meaning of the HCL file.
- Loading branch information