diff --git a/src/ld65/config.c b/src/ld65/config.c index 9a05bdd79..e9ee81139 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -1427,7 +1427,7 @@ static void ParseSymbols (void) /* Generate the import */ Imp = InsertImport (GenImport (Name, AddrSize)); /* Remember the file position */ - CollAppend (&Imp->DefLines, GenLineInfo (&CfgErrorPos)); + CollAppend (&Imp->RefLines, GenLineInfo (&CfgErrorPos)); break; case CfgSymWeak: