1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28: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:
uz 2011-01-27 16:12:10 +00:00
parent e654ad49eb
commit b903e818d1

View File

@ -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 */