diff options
Diffstat (limited to 'src/LexMatlab.cpp')
-rwxr-xr-x | src/LexMatlab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexMatlab.cpp b/src/LexMatlab.cpp index 249fa67..79b4101 100755 --- a/src/LexMatlab.cpp +++ b/src/LexMatlab.cpp @@ -103,7 +103,7 @@ static void ColouriseMatlabOctaveDoc( if (sc.ch == '\'' && sc.chPrev != '\\') { sc.ForwardSetState(SCE_MATLAB_DEFAULT); } - } else if (sc.state == SCE_MATLAB_DOUBLEQUOTESTRING) { + } else if (sc.state == SCE_MATLAB_DOUBLETQUOTESTRING) { if (sc.ch == '"' && sc.chPrev != '\\') { sc.ForwardSetState(SCE_MATLAB_DEFAULT); } @@ -126,7 +126,7 @@ static void ColouriseMatlabOctaveDoc( sc.SetState(SCE_MATLAB_STRING); } } else if (sc.ch == '"') { - sc.SetState(SCE_MATLAB_DOUBLEQUOTESTRING); + sc.SetState(SCE_MATLAB_DOUBLETQUOTESTRING); } else if (isdigit(sc.ch) || (sc.ch == '.' && isdigit(sc.chNext))) { sc.SetState(SCE_MATLAB_NUMBER); } else if (isalpha(sc.ch)) { |