diff src/python_ast.rs @ 59:407b3b217928

Add ast.With.
author Bastien Orivel <eijebong@bananium.fr>
date Sun, 12 Jun 2016 20:14:27 +0200
parents e5a808ec31c0
children 9f0f457a67f6
line wrap: on
line diff
--- a/src/python_ast.rs
+++ b/src/python_ast.rs
@@ -40,7 +40,7 @@ pub enum stmt {
     If(expr, Vec<stmt>, Vec<stmt>),
 
     // With(withitem* items, stmt* body)
-    //With(Vec<withitem>, Vec<stmt>)
+    With(Vec<withitem>, Vec<stmt>),
 
     // AsyncWith(withitem* items, stmt* body)
     //AsyncWith(Vec<withitem>, Vec<stmt>)