aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast-builder.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-10 13:11:55 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:16 +0100
commitdff99b7464f8c2d35915d625e9e87ac92f7abc23 (patch)
treeb556e1ca3d80d219f5e8a09df293ce0841cbcd1e /gcc/rust/ast/rust-ast-builder.h
parentc7eb1002c61cc6016ac0180d3691224de081e0a5 (diff)
downloadgcc-dff99b7464f8c2d35915d625e9e87ac92f7abc23.zip
gcc-dff99b7464f8c2d35915d625e9e87ac92f7abc23.tar.gz
gcc-dff99b7464f8c2d35915d625e9e87ac92f7abc23.tar.bz2
gccrs: Fix RangeFromExpr parsing in for loops
Those ranges were looking for a curly brace after the brace, leading to an error when using range from expr in for loops. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_expr): Fix range from expr. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast-builder.h')
0 files changed, 0 insertions, 0 deletions