(stream, state)
| 356 | |
| 357 | // handle comments, including nested |
| 358 | function tokenXMLComment(stream, state) { |
| 359 | var ch; |
| 360 | while (ch = stream.next()) { |
| 361 | if (ch == "-" && stream.match("->", true)) { |
| 362 | state.tokenize = tokenBase; |
| 363 | return ret("comment", "comment"); |
| 364 | } |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | |
| 369 | // handle CDATA |