diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-10-27 15:57:30 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-10-27 16:08:20 +0100 |
commit | 7604b6430cf3472399e5f24b7d8478a8ff89b22b (patch) | |
tree | f7503c89dffd0fc84e1560525c5e219cefc79d78 /gcc/alloc-pool.c | |
parent | 4c873251e79980a86da81df4d7180e757c472ce9 (diff) | |
download | gcc-7604b6430cf3472399e5f24b7d8478a8ff89b22b.zip gcc-7604b6430cf3472399e5f24b7d8478a8ff89b22b.tar.gz gcc-7604b6430cf3472399e5f24b7d8478a8ff89b22b.tar.bz2 |
Fix parser error for lifetime arguments
The loop was eagerly trying to ensure that there was multiple lifetimes
since the predicate assumed there will be a comma or delimiter for the
arguments. This changes the loop to keep reading lifetimes untill we fail to parse a lifetime or hit the end of the arguments.
Fixes #773
Diffstat (limited to 'gcc/alloc-pool.c')
0 files changed, 0 insertions, 0 deletions