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:06:30 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:18 +0100
commit906e55530a30fed93868d16332c9168848089ded (patch)
tree70db6d340050c692d21f81ea8045f194dc08e003 /gcc/rust/hir/tree/rust-hir-expr.h
parent2dfff621d9f5e2f7635a505d3d8c89ce1181f90e (diff)
downloadgcc-906e55530a30fed93868d16332c9168848089ded.zip
gcc-906e55530a30fed93868d16332c9168848089ded.tar.gz
gcc-906e55530a30fed93868d16332c9168848089ded.tar.bz2
gccrs: Break OR tokens in closure parameter list context
The parser was unable to process as closure inside a closure because the lexer could not differentiate an OR from two PIPE tokens. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_closure_expr_pratt): Fix closure parsing function to handle consecutive parameter lists. 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