mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
feedf6690c
@ -2933,7 +2933,7 @@ static void ParseCSym (InputData* D)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Symbol only valid if storage class not auto */
|
/* 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");
|
ParseError (D, CC65_ERROR, "Only non auto symbols can have a symbol attached");
|
||||||
goto ErrorExit;
|
goto ErrorExit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user