aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-expr.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-10 14:36:35 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:15 +0100
commit1e039d2f848a97994f909e239a0d4e17f8933f46 (patch)
treef3037a53ee0d79da8b8220e7056b4f2709cd2a32 /gcc/rust/hir/tree/rust-hir-expr.h
parent10af70269c8858444b8c5f7c22a5b51be7af9ac2 (diff)
downloadgcc-1e039d2f848a97994f909e239a0d4e17f8933f46.zip
gcc-1e039d2f848a97994f909e239a0d4e17f8933f46.tar.gz
gcc-1e039d2f848a97994f909e239a0d4e17f8933f46.tar.bz2
gccrs: Allow call to macro named "default" at item level
The parser was too agressive and did reject any line beginning with default even if this was a macro call. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_item): Relax constraints around default identifier at item scope to accept "default" macros. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions