Merge pull request #441 from ISSOtm/linker_error_stack

Make linker output error stacks instead of their top level
This commit is contained in:
Eldred Habert
2019-11-03 16:41:09 +01:00
committed by GitHub
3 changed files with 34 additions and 1 deletions

View File

@@ -395,7 +395,7 @@ void createpatch(uint32_t type, struct Expression *expr)
pPatch = allocpatch();
pPatch->nType = type;
strcpy(pPatch->tzFilename, tzCurrentFileName);
fstk_DumpToStr(pPatch->tzFilename, sizeof(pPatch->tzFilename));
pPatch->nLine = nLineNo;
pPatch->nOffset = nPC;