mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 22:25:28 +00:00
Fixed a bug reported by thefox.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4965 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1141,7 +1141,7 @@ static void CreateLineInfoList (LineInfoList* L, Collection* LineInfos)
|
|||||||
Start = LI->Start;
|
Start = LI->Start;
|
||||||
End = LI->End;
|
End = LI->End;
|
||||||
for (J = StartIndex, Addr = LI->Start; Addr <= LI->End; ++J, ++Addr) {
|
for (J = StartIndex, Addr = LI->Start; Addr <= LI->End; ++J, ++Addr) {
|
||||||
assert (List[J].Addr = Addr);
|
assert (List[J].Addr == Addr);
|
||||||
if (List[J].Count == 1 && List[J].Data == 0) {
|
if (List[J].Count == 1 && List[J].Data == 0) {
|
||||||
List[J].Data = LI;
|
List[J].Data = LI;
|
||||||
} else {
|
} else {
|
||||||
@@ -1172,7 +1172,7 @@ static void CreateLineInfoList (LineInfoList* L, Collection* LineInfos)
|
|||||||
End = LI->End;
|
End = LI->End;
|
||||||
}
|
}
|
||||||
for (J = StartIndex, Addr = LI->Start; Addr <= LI->End; ++J, ++Addr) {
|
for (J = StartIndex, Addr = LI->Start; Addr <= LI->End; ++J, ++Addr) {
|
||||||
assert (List[J].Addr = Addr);
|
assert (List[J].Addr == Addr);
|
||||||
if (List[J].Count == 1 && List[J].Data == 0) {
|
if (List[J].Count == 1 && List[J].Data == 0) {
|
||||||
List[J].Data = LI;
|
List[J].Data = LI;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user