aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-01-29 22:24:56 +1100
committerNeil <nyamatongwe@gmail.com>2019-01-29 22:24:56 +1100
commitb54e26a3dc5cdfbd6d49a1dd0b0c29dbab386044 (patch)
tree5d362e63a3236e556314b3de5327e27565dabc89 /lexers
parent867d324b771ee749a7ad31faf19baab7b1ccaa38 (diff)
downloadscintilla-mirror-b54e26a3dc5cdfbd6d49a1dd0b0c29dbab386044.tar.gz
Backport: Bug [#1947]. Fix recognizing '"' after "," inside a bracketed substitution.
Backport of changeset 7243:f75e25db799e.
Diffstat (limited to 'lexers')
-rw-r--r--lexers/LexTCL.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx
index 0948f4880..1ea6ecf6e 100644
--- a/lexers/LexTCL.cxx
+++ b/lexers/LexTCL.cxx
@@ -128,8 +128,10 @@ next:
continue;
case ',':
sc.SetState(SCE_TCL_OPERATOR);
- if (subParen)
+ if (subParen) {
sc.ForwardSetState(SCE_TCL_SUBSTITUTION);
+ goto next; // Already forwarded so avoid loop's Forward()
+ }
continue;
default :
// maybe spaces should be allowed ???