Fixed a logic bug in dbginfo.c module that prevented some valid debug info files from being parsed.
This commit is contained in:
parent
b5c88a54d5
commit
c12a8bf377
1 changed files with 1 additions and 1 deletions
|
@ -2933,7 +2933,7 @@ static void ParseCSym (InputData* D)
|
|||
}
|
||||
|
||||
/* Symbol only valid if storage class not auto */
|
||||
if (((InfoBits & ibSymId) != 0) != (SC != CC65_CSYM_AUTO)) {
|
||||
if (((InfoBits & ibSymId) != 0) && (SC == CC65_CSYM_AUTO)) {
|
||||
ParseError (D, CC65_ERROR, "Only non auto symbols can have a symbol attached");
|
||||
goto ErrorExit;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue