(stream, state)
| 44 | } |
| 45 | |
| 46 | function tokenCComment(stream, state) { |
| 47 | var maybeEnd = false, ch; |
| 48 | while ((ch = stream.next()) != null) { |
| 49 | if (maybeEnd && ch == "/") { |
| 50 | state.tokenize = tokenBase; |
| 51 | break; |
| 52 | } |
| 53 | maybeEnd = (ch == "*"); |
| 54 | } |
| 55 | return ret("comment", "comment"); |
| 56 | } |
| 57 | |
| 58 | function tokenSGMLComment(stream, state) { |
| 59 | var dashes = 0, ch; |