Browse Source

Merge branch 'master' of https://github.com/Madzi/oberonjs into Madzi-master

unknown 12 years ago
parent
commit
a1a76b11e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      browser/codemirror/oberon07.js

+ 1 - 1
browser/codemirror/oberon07.js

@@ -203,7 +203,7 @@ CodeMirror.defineMode("oberon07", function () {
                         _str += _ch;
                         _ch = stream.next();
                     }
-                    if (stream.eol()) {
+                    if (stream.eol() && _ch != sym) {
                         state.error = 'string.not.close';
                         return ED_ERROR;
                     }