Explorar o código

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

unknown %!s(int64=12) %!d(string=hai) anos
pai
achega
a1a76b11e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                     }