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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user