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:
parent
16cceb84be
commit
ef7c5fd15d
@ -131,6 +131,8 @@ load_decode_table (const char *file_name)
|
||||
break;
|
||||
}
|
||||
chp = skip_to_separator (chp, ",");
|
||||
if (*chp == ',')
|
||||
++chp;
|
||||
chp = skip_spaces (chp);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user