aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-expr.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-10 10:04:57 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-10-17 11:43:13 +0000
commit0ad109695216a5655bf890d8565b68890017db7a (patch)
tree4f3dc376154327b834b5dd354ba9bea5b007dd18 /gcc/rust/resolve/rust-ast-resolve-expr.cc
parentc82bbb09b0206f962bfdea5e12d69a71467e5371 (diff)
downloadgcc-0ad109695216a5655bf890d8565b68890017db7a.zip
gcc-0ad109695216a5655bf890d8565b68890017db7a.tar.gz
gcc-0ad109695216a5655bf890d8565b68890017db7a.tar.bz2
Fix path expr segment parsing with generic path
When a token was identified as bit left shift it slipped through the parser and resulted in an error. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_path_expr_segment): Accept left shift tokens in order to let generic parsing function split the token. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions