aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-01 14:13:01 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-03-01 21:29:26 +0000
commit1f24ea4b3cdd25b019e2f972753a992beaacdd3a (patch)
treed8c7f37d5e9a9bd24a26514e9425fbbeaa168150 /gcc/rust/hir/rust-hir-dump.cc
parent23befb042f90f5c84a59c0901b147c24a704847b (diff)
downloadgcc-1f24ea4b3cdd25b019e2f972753a992beaacdd3a.zip
gcc-1f24ea4b3cdd25b019e2f972753a992beaacdd3a.tar.gz
gcc-1f24ea4b3cdd25b019e2f972753a992beaacdd3a.tar.bz2
parser: Fix if let parsing
Fix if let parsing in null_notation function. This problem was due to the current token already being passed in the function parameters and already out of the buffered queue. Hence why the peeked token was let and not if. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::null_denotation): Fix if let parsing. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions