diff options
| author | Yury Dubinsky <unknown> | 2020-05-05 08:35:48 +1000 |
|---|---|---|
| committer | Yury Dubinsky <unknown> | 2020-05-05 08:35:48 +1000 |
| commit | b501aa00d3f8a5d4f4b97e13243612c8952ca60a (patch) | |
| tree | a6e969a64b129cc840a4697a0e4e250472629f1a /lexilla/test | |
| parent | 187d3e058cc49b94f34ab88358bc0800dc7ca74c (diff) | |
| download | scintilla-mirror-b501aa00d3f8a5d4f4b97e13243612c8952ca60a.tar.gz | |
Fixed bug where a single character line with a single character line end
continued state onto the next line.
Diffstat (limited to 'lexilla/test')
| -rw-r--r-- | lexilla/test/examples/batch/x.bat | 5 | ||||
| -rw-r--r-- | lexilla/test/examples/batch/x.bat.styled | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lexilla/test/examples/batch/x.bat b/lexilla/test/examples/batch/x.bat index 60eab1116..916efd36a 100644 --- a/lexilla/test/examples/batch/x.bat +++ b/lexilla/test/examples/batch/x.bat @@ -31,4 +31,9 @@ IF NOT DEFINED var (SET var=1) :: Bug 2065: keywords not recognized when followed by ')' @if exist a ( exit) +:: Bug: with \r or \n, 'command' is seen as continuation +echo word ^ +1 +command + :END diff --git a/lexilla/test/examples/batch/x.bat.styled b/lexilla/test/examples/batch/x.bat.styled index 07f903338..02d1ffcc8 100644 --- a/lexilla/test/examples/batch/x.bat.styled +++ b/lexilla/test/examples/batch/x.bat.styled @@ -31,4 +31,9 @@ rem 'echo' is word=2, 'a' is default=0 {1}:: Bug 2065: keywords not recognized when followed by ')' {4}@{2}if exist{0} a ({2} exit{0}) +{1}:: Bug: with \r or \n, 'command' is seen as continuation +{2}echo{0} word ^ +1 +{5}command{0} + {3}:END |
