(stream, state)
| 261 | } |
| 262 | |
| 263 | function tokenSGMLComment(stream, state) { |
| 264 | var dashes = 0, ch; |
| 265 | while ((ch = stream.next()) != null) { |
| 266 | if (dashes >= 2 && ch == ">") { |
| 267 | state.tokenize = tokenBase; |
| 268 | break; |
| 269 | } |
| 270 | dashes = (ch == "-") ? dashes + 1 : 0; |
| 271 | } |
| 272 | return ret("comment", "comment"); |
| 273 | } |
| 274 | |
| 275 | function tokenString(quote, nonInclusive) { |
| 276 | return function(stream, state) { |