(stream, state)
| 56 | } |
| 57 | |
| 58 | function tokenSGMLComment(stream, state) { |
| 59 | var dashes = 0, ch; |
| 60 | while ((ch = stream.next()) != null) { |
| 61 | if (dashes >= 2 && ch == ">") { |
| 62 | state.tokenize = tokenBase; |
| 63 | break; |
| 64 | } |
| 65 | dashes = (ch == "-") ? dashes + 1 : 0; |
| 66 | } |
| 67 | return ret("comment", "comment"); |
| 68 | } |
| 69 | |
| 70 | function tokenString(quote) { |
| 71 | return function(stream, state) { |