Mercurial > python-compiler.rs
diff src/python_ast.rs @ 75:1abc8ca9f30b
Add ast.YieldFrom.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Mon, 13 Jun 2016 18:26:46 +0200 |
parents | 97537c90d92d |
children | efd42fc280e8 |
line wrap: on
line diff
--- a/src/python_ast.rs +++ b/src/python_ast.rs @@ -93,7 +93,7 @@ pub enum expr { // the grammar constrains where yield expressions can occur Await(Box<expr>), Yield(Box<Option<expr>>), - //YieldFrom(expr value) + YieldFrom(Box<expr>), // need sequences for compare to distinguish between // x < 4 < 3 and (x < 4) < 3