diff src/python_ast.rs @ 60:9f0f457a67f6

Add ast.Raise.
author Bastien Orivel <eijebong@bananium.fr>
date Mon, 13 Jun 2016 01:24:09 +0200
parents 407b3b217928
children d255a932553f
line wrap: on
line diff
--- a/src/python_ast.rs
+++ b/src/python_ast.rs
@@ -46,7 +46,7 @@ pub enum stmt {
     //AsyncWith(Vec<withitem>, Vec<stmt>)
 
     // Raise(expr? exc, expr? cause)
-    //Raise(Option<expr>, Option<expr>)
+    Raise(Option<expr>, Option<expr>),
 
     // Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)
     //Try(Vec<stmt>, Vec<excepthandler>, Vec<stmt>, Vec<stmt>)