Project

General

Profile

Revision 229 trunk/scripts/codemirror/mode/clike

View differences:

clike.js
21 21
    }
22 22
    if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
23 23
      curPunc = ch;
24
      return null
24
      return null;
25 25
    }
26 26
    if (/\d/.test(ch)) {
27 27
      stream.eatWhile(/[\w\.]/);
......
59 59
        escaped = !escaped && next == "\\";
60 60
      }
61 61
      if (end || !(escaped || multiLineStrings))
62
        state.tokenize = tokenBase;
62
        state.tokenize = null;
63 63
      return "string";
64 64
    };
65 65
  }
......
68 68
    var maybeEnd = false, ch;
69 69
    while (ch = stream.next()) {
70 70
      if (ch == "/" && maybeEnd) {
71
        state.tokenize = tokenBase;
71
        state.tokenize = null;
72 72
        break;
73 73
      }
74 74
      maybeEnd = (ch == "*");
index.html
96 96
    <p><strong>MIME types defined:</strong> <code>text/x-csrc</code>
97 97
    (C code), <code>text/x-c++src</code> (C++
98 98
    code), <code>text/x-java</code> (Java
99
    code).</p>
99
    code), <code>text/x-csharp</code> (C#).</p>
100 100
  </body>
101 101
</html>

Also available in: Unified diff