(stream, state)
| 146 | } |
| 147 | |
| 148 | function tokenCComment(stream, state) { |
| 149 | var maybeEnd = false, ch; |
| 150 | while ((ch = stream.next()) != null) { |
| 151 | if (maybeEnd && ch == "/") { |
| 152 | state.tokenize = tokenBase; |
| 153 | break; |
| 154 | } |
| 155 | maybeEnd = (ch == "*"); |
| 156 | } |
| 157 | return ret("comment", "comment"); |
| 158 | } |
| 159 | |
| 160 | function tokenSGMLComment(stream, state) { |
| 161 | var dashes = 0, ch; |