aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-02-14 18:42:39 -0500
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 16:23:02 +0100
commit4bd09ce06f50d266c992c984cc993384d5e6655e (patch)
treed3ddea29da0deaaecf7cf09e93b7a75d0af12aba /contrib
parent7a6906c8d80e437a97c780370a8fec4e00561c7b (diff)
downloadgcc-4bd09ce06f50d266c992c984cc993384d5e6655e.zip
gcc-4bd09ce06f50d266c992c984cc993384d5e6655e.tar.gz
gcc-4bd09ce06f50d266c992c984cc993384d5e6655e.tar.bz2
gccrs: Parse AltPattern
Renamed Parser::parse_pattern to Parser::parse_pattern_no_alt and created new method Parser::parse_pattern to handle alternate patterns. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_pattern): Add. (Parser::parse_pattern_no_alt): Rename. * parse/rust-parse.h: (Parser::parse_pattern): Add. (Parser::parse_pattern_no_alt): Rename. gcc/testsuite/ChangeLog: * rust/compile/pattern-or.rs: New test. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions