1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-11 11:30:13 +00:00

Merge pull request #18 from xofeht/master

dbginfo.c bug fix
This commit is contained in:
Oliver Schmidt 2013-07-04 12:24:19 -07:00
commit 21ef04845e

View File

@ -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;
}