(stream, state)
| 101 | } |
| 102 | |
| 103 | function jsTokenComment(stream, state) { |
| 104 | var maybeEnd = false, ch; |
| 105 | while (ch = stream.next()) { |
| 106 | if (ch == "/" && maybeEnd) { |
| 107 | state.tokenize = jsTokenBase; |
| 108 | break; |
| 109 | } |
| 110 | maybeEnd = (ch == "*"); |
| 111 | } |
| 112 | return ret("comment", "comment"); |
| 113 | } |
| 114 | |
| 115 | // Parser |
| 116 |