mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
sim: igen: fix hang when decoding boolean rule constants
The parser for boolean rules fails to skip over the , separator in the options which makes it hang forever. No dc files in the tree use boolean rules atm which is why no one noticed.
This commit is contained in:
@ -131,6 +131,8 @@ load_decode_table (const char *file_name)
|
||||
break;
|
||||
}
|
||||
chp = skip_to_separator (chp, ",");
|
||||
if (*chp == ',')
|
||||
++chp;
|
||||
chp = skip_spaces (chp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user