Fixed a problem in line info generation: Recorded token lists emitted the

tokens using the standard ASM line info, overwriting the existing one from the
real source line. Since this info was lost, and couldn't be recovered, the
original source location was omitted in error messages.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5905 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-11-04 12:57:34 +00:00
parent 0b5c667cd9
commit 4a41865898
4 changed files with 80 additions and 37 deletions

View File

@@ -139,6 +139,10 @@ static void AddNotifications (const Collection* LineInfos)
const char* Msg;
switch (GetLineInfoType (LI)) {
case LI_TYPE_ASM:
Msg = "Expanded from here";
break;
case LI_TYPE_EXT:
Msg = "Assembler code generated from this line";
break;