aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexTCL.cxx
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
commit850cfb235e8e92c5b180c94f81d599f88e8cef01 (patch)
treeed8b4168babc9123bd8ed5514c76fb38848ec225 /lexers/LexTCL.cxx
parent06a3fcba8e3282aa52f90cbf6f2d1aad947a600c (diff)
downloadscintilla-mirror-850cfb235e8e92c5b180c94f81d599f88e8cef01.tar.gz
Bug [#1947]. Fix recognizing '"' after "," inside a bracketed substitution.
Diffstat (limited to 'lexers/LexTCL.cxx')
-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 ???