(stream, state)
| 249 | } |
| 250 | |
| 251 | function tokenCComment(stream, state) { |
| 252 | var maybeEnd = false, ch; |
| 253 | while ((ch = stream.next()) != null) { |
| 254 | if (maybeEnd && ch == "/") { |
| 255 | state.tokenize = tokenBase; |
| 256 | break; |
| 257 | } |
| 258 | maybeEnd = (ch == "*"); |
| 259 | } |
| 260 | return ret("comment", "comment"); |
| 261 | } |
| 262 | |
| 263 | function tokenSGMLComment(stream, state) { |
| 264 | var dashes = 0, ch; |