mirror of
https://github.com/cc65/cc65.git
synced 2024-07-07 19:29:18 +00:00
More detailed error message.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4926 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e654ad49eb
commit
b903e818d1
@ -142,9 +142,10 @@ void ReadLineInfoList (FILE* F, ObjData* O, Collection* LineInfos)
|
|||||||
* therefore be part of the line infos read from the object file.
|
* therefore be part of the line infos read from the object file.
|
||||||
*/
|
*/
|
||||||
if (LineInfoIndex >= CollCount (&O->LineInfos)) {
|
if (LineInfoIndex >= CollCount (&O->LineInfos)) {
|
||||||
Internal ("Invalid line info index %u in module `%s'",
|
Internal ("Invalid line info index %u in module `%s' - max is %u",
|
||||||
LineInfoIndex,
|
LineInfoIndex,
|
||||||
GetObjFileName (O));
|
GetObjFileName (O),
|
||||||
|
CollCount (&O->LineInfos));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add the line info to the collection */
|
/* Add the line info to the collection */
|
||||||
|
Loading…
Reference in New Issue
Block a user