diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-10-01 14:55:15 +0800 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:21 +0000 |
commit | 2ed062a0be3e2c6e7bd50d25d9ede336fad7be38 (patch) | |
tree | 3eb122d4ae25035a067ddaf78576541a75fdf9b7 /gcc/rust/analysis/rust-scan.h | |
parent | 4cfd93746242dc6e73f4fa71520bb361a2d6de4a (diff) | |
download | gcc-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-scan.h')
-rw-r--r-- | gcc/rust/analysis/rust-scan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/analysis/rust-scan.h b/gcc/rust/analysis/rust-scan.h index e898d41..77beeca 100644 --- a/gcc/rust/analysis/rust-scan.h +++ b/gcc/rust/analysis/rust-scan.h @@ -117,8 +117,8 @@ public: virtual void visit (AST::IfLetExprConseqIf &expr); virtual void visit (AST::IfLetExprConseqIfLet &expr); // virtual void visit(MatchCase& match_case); - virtual void visit (AST::MatchCaseBlockExpr &match_case); - virtual void visit (AST::MatchCaseExpr &match_case); + // virtual void visit (AST::MatchCaseBlockExpr &match_case); + // virtual void visit (AST::MatchCaseExpr &match_case); virtual void visit (AST::MatchExpr &expr); virtual void visit (AST::AwaitExpr &expr); virtual void visit (AST::AsyncBlockExpr &expr); |