Mercurial > python-compiler.rs
diff src/python_ast.rs @ 47:38f59b0efc2c
Handle Import and add a test for it.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Tue, 07 Jun 2016 12:51:36 +0200 |
parents | 7af637f444d1 |
children | 039f85b187f2 |
line wrap: on
line diff
--- a/src/python_ast.rs +++ b/src/python_ast.rs @@ -55,7 +55,7 @@ pub enum stmt { //Assert(expr, Option<expr>) // Import(alias* names) - //Import(Vec<alias>) + Import(Vec<alias>), // ImportFrom(identifier? module, alias* names, int? level) ImportFrom(String, Vec<alias>, Option<i32>), // TODO: check the size of level.