diff options
| author | Silas <silas_git@nocafe.net> | 2020-12-08 17:37:43 -0300 |
|---|---|---|
| committer | Silas <silas_git@nocafe.net> | 2020-12-08 17:37:43 -0300 |
| commit | e57851806592f5ea4ee48303b97a5f59731370c5 (patch) | |
| tree | a4a03e32f43057f1093ae6d72426a7a2353e71dd /lua/lexers/xml.lua | |
| parent | 247b799b7cd272f20b2c6f9b4e60bf8b57775985 (diff) | |
| download | vis-e57851806592f5ea4ee48303b97a5f59731370c5.tar.gz vis-e57851806592f5ea4ee48303b97a5f59731370c5.tar.xz | |
lexers: fix bug in bash lexer for last here-doc
f4f0f5b allowed "<<-EOF" heredocs to be parsed correctly, but it
introduced a bug that made the lexer fail when the beginning of a
here-doc was the last string in a file (optionally followed only
by blanks).
In order to fix this, move everything regarding "delimiter" within
the block that is executed only if "delimiter" is not nil.
Diffstat (limited to 'lua/lexers/xml.lua')
0 files changed, 0 insertions, 0 deletions
