commit | e7b0d32522d7f902a26cbc44700c4f45d7a11df0 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Oct 30 10:27:23 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Oct 30 10:27:23 2016 -0700 |
tree | 729c21d34ece6084a3103ab0c1dfb8689257e94e | |
parent | f43ba806c65105b6439faa0597c3a3e013d774c9 [diff] |
Update visitor with parenthesized const expressions
diff --git a/src/visit.rs b/src/visit.rs index 6ae2824..b9fd8fb 100644 --- a/src/visit.rs +++ b/src/visit.rs
@@ -283,5 +283,8 @@ ConstExpr::Path(ref path) => { visitor.visit_path(path); } + ConstExpr::Paren(ref expr) => { + visitor.visit_const_expr(expr); + } } }