(stream, state)
| 289 | } |
| 290 | |
| 291 | function dedent(stream, state) { |
| 292 | var indented = stream.indentation(); |
| 293 | while (state.scopes.length > 1 && top(state).offset > indented) { |
| 294 | if (top(state).type != "py") return true; |
| 295 | state.scopes.pop(); |
| 296 | } |
| 297 | return top(state).offset != indented; |
| 298 | } |
| 299 | |
| 300 | function tokenLexer(stream, state) { |
| 301 | if (stream.sol()) { |