(stream, state)
| 131 | } |
| 132 | |
| 133 | function haxeTokenComment(stream, state) { |
| 134 | var maybeEnd = false, ch; |
| 135 | while (ch = stream.next()) { |
| 136 | if (ch == "/" && maybeEnd) { |
| 137 | state.tokenize = haxeTokenBase; |
| 138 | break; |
| 139 | } |
| 140 | maybeEnd = (ch == "*"); |
| 141 | } |
| 142 | return ret("comment", "comment"); |
| 143 | } |
| 144 | |
| 145 | // Parser |
| 146 |