diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-09-05 19:54:15 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-09-05 19:54:15 +0200 |
commit | e7922da67116c9e3c1a53072650ac79b82a9abbd (patch) | |
tree | 56a977a84223e197bee1dcd31d1b8f235a39b8ea /askama_shared/src/parser.rs | |
parent | 3c9c4fe026910319a9420c532865be42d8556289 (diff) | |
download | askama-e7922da67116c9e3c1a53072650ac79b82a9abbd.tar.gz askama-e7922da67116c9e3c1a53072650ac79b82a9abbd.tar.bz2 askama-e7922da67116c9e3c1a53072650ac79b82a9abbd.zip |
Stop mutating parsed AST for code generation
Diffstat (limited to 'askama_shared/src/parser.rs')
-rw-r--r-- | askama_shared/src/parser.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index 677b86a..e74a194 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -41,7 +41,6 @@ pub enum Node<'a> { Loop(WS, Target<'a>, Expr<'a>, Vec<Node<'a>>, WS), Extends(Expr<'a>), BlockDef(WS, &'a str, Vec<Node<'a>>, WS), - Block(WS, &'a str, WS), Include(WS, &'a str), Macro(&'a str, Macro<'a>), } |