aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/analysis/rust-name-resolution.cc
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-10-01 14:55:15 +0800
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:21 +0000
commit2ed062a0be3e2c6e7bd50d25d9ede336fad7be38 (patch)
tree3eb122d4ae25035a067ddaf78576541a75fdf9b7 /gcc/rust/analysis/rust-name-resolution.cc
parent4cfd93746242dc6e73f4fa71520bb361a2d6de4a (diff)
downloadgcc-2ed062a0be3e2c6e7bd50d25d9ede336fad7be38.zip
gcc-2ed062a0be3e2c6e7bd50d25d9ede336fad7be38.tar.gz
gcc-2ed062a0be3e2c6e7bd50d25d9ede336fad7be38.tar.bz2
Improved parsing of MatchExpr (and AST structure)
Fixed compilation errors Fixed accidental break out of loop when expr_with_block when parsing match expr
Diffstat (limited to 'gcc/rust/analysis/rust-name-resolution.cc')
-rw-r--r--gcc/rust/analysis/rust-name-resolution.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rust/analysis/rust-name-resolution.cc b/gcc/rust/analysis/rust-name-resolution.cc
index 582f8ac..28a4af8 100644
--- a/gcc/rust/analysis/rust-name-resolution.cc
+++ b/gcc/rust/analysis/rust-name-resolution.cc
@@ -361,12 +361,12 @@ void
NameResolution::visit (AST::IfLetExprConseqIfLet &expr)
{}
// void NameResolution::visit(MatchCase& match_case) {}
-void
+/*void
NameResolution::visit (AST::MatchCaseBlockExpr &match_case)
-{}
-void
+{}*/
+/*void
NameResolution::visit (AST::MatchCaseExpr &match_case)
-{}
+{}*/
void
NameResolution::visit (AST::MatchExpr &expr)
{}