aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse.h
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-11-29 22:47:31 +0800
committerSimplyTheOther <simplytheother@gmail.com>2020-12-08 21:10:34 +0800
commitdb39766514144dbbad34d9db3977c3a72d1216c3 (patch)
treec7c470e4bf94ccb0105f8ad80ff85c7582ee9358 /gcc/rust/parse/rust-parse.h
parent9b252167a77316750f34c455222e5f30724e51e4 (diff)
downloadgcc-db39766514144dbbad34d9db3977c3a72d1216c3.zip
gcc-db39766514144dbbad34d9db3977c3a72d1216c3.tar.gz
gcc-db39766514144dbbad34d9db3977c3a72d1216c3.tar.bz2
Added new pattern stripping
Fixed get_locus_slow call in StructPatternField compile error Added and improved cfg stripping Fixed compilation errors
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r--gcc/rust/parse/rust-parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h
index 5202abf..a6de87b 100644
--- a/gcc/rust/parse/rust-parse.h
+++ b/gcc/rust/parse/rust-parse.h
@@ -575,6 +575,7 @@ private:
std::unique_ptr<AST::TupleStructItems> parse_tuple_struct_items ();
AST::StructPatternElements parse_struct_pattern_elems ();
std::unique_ptr<AST::StructPatternField> parse_struct_pattern_field ();
+ std::unique_ptr<AST::StructPatternField> parse_struct_pattern_field_partial (std::vector<AST::Attribute> outer_attrs);
int left_binding_power (const_TokenPtr token);