(stream, state)
| 243 | } |
| 244 | |
| 245 | function clikeComment(stream, state) { |
| 246 | var maybeEnd = false, ch; |
| 247 | while ((ch = stream.next()) != null) { |
| 248 | if (ch === "/" && maybeEnd) { |
| 249 | state.tokenize = null; |
| 250 | break; |
| 251 | } |
| 252 | maybeEnd = (ch === "*"); |
| 253 | } |
| 254 | return "comment"; |
| 255 | } |
| 256 | |
| 257 | return { |
| 258 | startState: function() { |