aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexSQL.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2019-06-25 12:07:19 +1000
committerZufu Liu <unknown>2019-06-25 12:07:19 +1000
commit489e17fa9fc62f39ae61e83fce7248de489d33de (patch)
tree508f512179384fde43e5ad1def7d09d6923cf269 /lexers/LexSQL.cxx
parent1befbf9528f9d44e62a17f50f4b6da3f8691074d (diff)
downloadscintilla-mirror-489e17fa9fc62f39ae61e83fce7248de489d33de.tar.gz
Backport: Bug [#2098]. Fix single quoted strings where '" (quote, double quote) was seen
as continuing the string. Backport of changeset 7605:bd1bf8e13d33.
Diffstat (limited to 'lexers/LexSQL.cxx')
-rw-r--r--lexers/LexSQL.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx
index aeb7f4772..c56c8a4da 100644
--- a/lexers/LexSQL.cxx
+++ b/lexers/LexSQL.cxx
@@ -537,7 +537,7 @@ void SCI_METHOD LexerSQL::Lex(Sci_PositionU startPos, Sci_Position length, int i
if (options.sqlBackslashEscapes && sc.ch == '\\') {
sc.Forward();
} else if (sc.ch == '\'') {
- if (sc.chNext == '\"') {
+ if (sc.chNext == '\'') {
sc.Forward();
} else {
sc.ForwardSetState(SCE_SQL_DEFAULT);