rgbasm: Report conflicting file/line number for duplicate sections

This commit is contained in:
dannye
2021-02-21 23:43:44 -06:00
committed by Eldred Habert
parent cc1129093d
commit 929e2a4490
3 changed files with 8 additions and 3 deletions

View File

@@ -22,6 +22,8 @@ struct Section {
char *name;
enum SectionType type;
enum SectionModifier modifier;
struct FileStackNode *src; /* Where the section was defined */
uint32_t fileLine; /* Line where the section was defined */
uint32_t size;
uint32_t org;
uint32_t bank;