mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +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.
|
||||
*/
|
||||
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,
|
||||
GetObjFileName (O));
|
||||
GetObjFileName (O),
|
||||
CollCount (&O->LineInfos));
|
||||
}
|
||||
|
||||
/* Add the line info to the collection */
|
||||
|
Loading…
x
Reference in New Issue
Block a user