From 1b97297d6314571ac3fe0348c7f7ae565febf352 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Fri, 8 Mar 2024 18:30:30 -0500 Subject: [PATCH] Fix a typo bug in sdas_obj.cpp This was introduced in commit 447c561, PR #1330 --- src/link/sdas_obj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/sdas_obj.cpp b/src/link/sdas_obj.cpp index 6f368ddc..2a542ff9 100644 --- a/src/link/sdas_obj.cpp +++ b/src/link/sdas_obj.cpp @@ -370,7 +370,7 @@ void sdobj_ReadFile(FileStackNode const &where, FILE *file, std::vector getToken(nullptr, "'S' line is too short"); if (int32_t value = parseNumber(where, lineNo, &token[3], numberType); - fileSections.empty()) { + !fileSections.empty()) { // Symbols in sections are labels; their value is an offset Section *section = fileSections.back().section; if (section->isAddressFixed) {