Fix a typo bug in sdas_obj.cpp

This was introduced in commit 447c561, PR #1330
This commit is contained in:
Rangi42
2024-03-08 18:30:30 -05:00
parent 75cc12bb3d
commit 1b97297d63

View File

@@ -370,7 +370,7 @@ void sdobj_ReadFile(FileStackNode const &where, FILE *file, std::vector<Symbol>
getToken(nullptr, "'S' line is too short"); getToken(nullptr, "'S' line is too short");
if (int32_t value = parseNumber(where, lineNo, &token[3], numberType); if (int32_t value = parseNumber(where, lineNo, &token[3], numberType);
fileSections.empty()) { !fileSections.empty()) {
// Symbols in sections are labels; their value is an offset // Symbols in sections are labels; their value is an offset
Section *section = fileSections.back().section; Section *section = fileSections.back().section;
if (section->isAddressFixed) { if (section->isAddressFixed) {