gccrs: Add path to macro fragment follow restrictions
commit3c3e05ad03be05700a7ebbbd3652f74913272d30
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 16 Oct 2023 08:29:35 +0000 (16 10:29 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:18 +0000 (16 19:09 +0100)
treef5b608458c0bec0cfa3d2ed6d499a6fdf26779df
parent1e841fd604680b07968a9142388633fb50384e16
gccrs: Add path to macro fragment follow restrictions

The previous follow set rules did not allow PATH fragment, changing this
allow gccrs to accept more valid rust macros.

gcc/rust/ChangeLog:

* ast/rust-macro.h: Add PATH fragment to follow set restrictions.

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