(stream, state)
| 193 | } |
| 194 | |
| 195 | function tokenSGMLComment(stream, state) { |
| 196 | var dashes = 0, ch; |
| 197 | while ((ch = stream.next()) != null) { |
| 198 | if (dashes >= 2 && ch == ">") { |
| 199 | state.tokenize = tokenBase; |
| 200 | break; |
| 201 | } |
| 202 | dashes = (ch == "-") ? dashes + 1 : 0; |
| 203 | } |
| 204 | return ret("comment", "comment"); |
| 205 | } |
| 206 | |
| 207 | function tokenString(quote) { |
| 208 | return function(stream, state) { |