]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: parser: Parse RangeFullExpr without erroring out
authorArthur Cohen <arthur.cohen@embecosm.com>
Mon, 29 Aug 2022 14:37:16 +0000 (16:37 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 31 Jan 2023 13:16:49 +0000 (14:16 +0100)
commitf7014b28b81f43f62086d75222a9cfe7ca562b27
treeea09c9f4db63ab3bf0e71a5f620708cd7728da1f
parent938facc5e93a9ff31fe39ff00684e591c371fd37
gccrs: parser: Parse RangeFullExpr without erroring out

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h: Allow parsing full range expressions without
erroring out.

gcc/testsuite/ChangeLog:

* rust/compile/parse_range.rs: New test.
gcc/rust/parse/rust-parse-impl.h
gcc/testsuite/rust/compile/parse_range.rs [new file with mode: 0644]