]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add comma for expr delimiter to fix match arms
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 11 Oct 2023 12:31:25 +0000 (14:31 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:13 +0000 (19:09 +0100)
commit863431f5a0a7e208937ee471a6f0933df214cdd8
tree898079a66f642e8081ab2e63d35c76356413886e
parent378c26f5a34272c7fbde0ff3c7392e6ab8240c05
gccrs: Add comma for expr delimiter to fix match arms

Add a comma as an expr delimiter, this will allow correct parsing of
match arm expressions.

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h (Parser::parse_expr): Add comma delimiter.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/parse/rust-parse-impl.h