diff options
Diffstat (limited to 'help3/xhpeditor/cm/mode/cobol/cobol.js')
-rw-r--r-- | help3/xhpeditor/cm/mode/cobol/cobol.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help3/xhpeditor/cm/mode/cobol/cobol.js b/help3/xhpeditor/cm/mode/cobol/cobol.js index 275857b4..a7aeafa0 100644 --- a/help3/xhpeditor/cm/mode/cobol/cobol.js +++ b/help3/xhpeditor/cm/mode/cobol/cobol.js @@ -195,7 +195,7 @@ CodeMirror.defineMode("cobol", function () { case "string": // multi-line string parsing mode var next = false; while ((next = stream.next()) != null) { - if (next == "\"" || next == "\'") { + if ((next == "\"" || next == "\'") && !stream.match(/['"]/, false)) { state.mode = false; break; } |