From 2f3980d41667cfed6ee6560c16e90efa91cd24c6 Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Sat, 16 May 2020 20:41:30 +0100 Subject: make ArithmeticOrLogicalExpr visitable --- gcc/rust/analysis/rust-resolution.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/rust/analysis') diff --git a/gcc/rust/analysis/rust-resolution.cc b/gcc/rust/analysis/rust-resolution.cc index 6cc47a2..24e1989 100644 --- a/gcc/rust/analysis/rust-resolution.cc +++ b/gcc/rust/analysis/rust-resolution.cc @@ -217,6 +217,8 @@ void TypeResolution::visit (AST::ArithmeticOrLogicalExpr &expr) { printf ("ArithmeticOrLogicalExpr: %s\n", expr.as_string ().c_str ()); + expr.visit_lhs (*this); + expr.visit_rhs (*this); } void -- cgit v1.1