1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-11 11:30:13 +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:
uz 2011-02-06 14:36:31 +00:00
parent fe92bc9c68
commit 2056097a91

View File

@ -1141,7 +1141,7 @@ static void CreateLineInfoList (LineInfoList* L, Collection* LineInfos)
Start = LI->Start;
End = LI->End;
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) {
List[J].Data = LI;
} else {
@ -1172,7 +1172,7 @@ static void CreateLineInfoList (LineInfoList* L, Collection* LineInfos)
End = LI->End;
}
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) {
List[J].Data = LI;
} else {