(stream, state)
| 365 | |
| 366 | // handle comments, including nested |
| 367 | function tokenXMLComment(stream, state) { |
| 368 | while (ch = stream.next()) { |
| 369 | if (ch == "-" && stream.match("->", true)) { |
| 370 | state.tokenize = tokenBase; |
| 371 | return ret("comment", "comment"); |
| 372 | } |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | |
| 377 | // handle CDATA |