diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-10 14:06:30 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-10-17 22:19:46 +0000 |
commit | 0af6a9f10640f086254d07b17f9c541f3d759acd (patch) | |
tree | 64c10aea05a1c79718576b5a38919ce19284a3fb /gcc/rust/backend/rust-mangle.cc | |
parent | 813d0b956fd465bc083787974f78cae038c3259b (diff) | |
download | gcc-0af6a9f10640f086254d07b17f9c541f3d759acd.zip gcc-0af6a9f10640f086254d07b17f9c541f3d759acd.tar.gz gcc-0af6a9f10640f086254d07b17f9c541f3d759acd.tar.bz2 |
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/backend/rust-mangle.cc')
0 files changed, 0 insertions, 0 deletions