(stream, state)
| 95 | } |
| 96 | |
| 97 | function tokenCComment(stream, state) { |
| 98 | var maybeEnd = false, ch; |
| 99 | while ((ch = stream.next()) != null) { |
| 100 | if (maybeEnd && ch == "/") { |
| 101 | state.tokenize = tokenBase; |
| 102 | break; |
| 103 | } |
| 104 | maybeEnd = (ch == "*"); |
| 105 | } |
| 106 | return ret("comment", "comment"); |
| 107 | } |
| 108 | |
| 109 | function tokenSGMLComment(stream, state) { |
| 110 | var dashes = 0, ch; |