mirror of
https://github.com/cc65/cc65.git
synced 2024-11-16 02:10:52 +00:00
Fixed a problem with input files with end address $FFFF.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3696 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f981dd35ad
commit
1193a466d9
@ -209,7 +209,7 @@ unsigned AddrTable (void)
|
||||
BytesLeft -= 2;
|
||||
|
||||
/* If we must define a label here, bail out */
|
||||
if (MustDefLabel (PC)) {
|
||||
if (BytesLeft && MustDefLabel (PC)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -279,7 +279,7 @@ unsigned RtsTable (void)
|
||||
BytesLeft -= 2;
|
||||
|
||||
/* If we must define a label here, bail out */
|
||||
if (MustDefLabel (PC)) {
|
||||
if (BytesLeft && MustDefLabel (PC)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user