diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-09-20 21:19:17 +0800 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:21 +0000 |
commit | fd68a282ede655b89665744b368f512167ef49db (patch) | |
tree | ea36558bb5cee06899566199d31e829e91066307 /gcc/rust/parse/rust-parse.h | |
parent | 2f7007a777bbb3d2fbd29f66b98d71ba6849eab6 (diff) | |
download | gcc-fd68a282ede655b89665744b368f512167ef49db.zip gcc-fd68a282ede655b89665744b368f512167ef49db.tar.gz gcc-fd68a282ede655b89665744b368f512167ef49db.tar.bz2 |
Attempt consolidation of ArithmeticOrLogicalExpr parsing
Fixed typo of MODULUS as MODULO
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r-- | gcc/rust/parse/rust-parse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h index cec0904..cbcc5ae 100644 --- a/gcc/rust/parse/rust-parse.h +++ b/gcc/rust/parse/rust-parse.h @@ -236,6 +236,10 @@ private: = std::vector<AST::Attribute> (), ParseRestrictions restrictions = ParseRestrictions ()); std::unique_ptr<AST::ArithmeticOrLogicalExpr> + parse_arithmetic_or_logical_expr (const_TokenPtr tok, std::unique_ptr<AST::Expr> left, + std::vector<AST::Attribute> outer_attrs, AST::ArithmeticOrLogicalExpr::ExprType expr_type, + ParseRestrictions restrictions = ParseRestrictions ()); + std::unique_ptr<AST::ArithmeticOrLogicalExpr> parse_binary_plus_expr (const_TokenPtr tok, std::unique_ptr<AST::Expr> left, std::vector<AST::Attribute> outer_attrs, ParseRestrictions restrictions |