]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix macro parsing for trait items.
authorKushal Pal <kushalpal109@gmail.com>
Fri, 26 Jan 2024 13:05:59 +0000 (18:35 +0530)
committerCohenArthur <arthur.cohen@embecosm.com>
Mon, 5 Feb 2024 17:08:39 +0000 (17:08 +0000)
commit1e0e6a46abec24271ddea3f4936f2b94d7e2465e
tree8d81767c97b1d3037b725bc2f4c110ceadaf1238
parentdf78aec1a2772ecb205284324c9472abfda4abf2
Fix macro parsing for trait items.

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h (Parser::parse_trait_item):
Handle macros in trait items similar to how its handled for trait
implementation items.

Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
gcc/rust/parse/rust-parse-impl.h