From 08e83601f5c14981a7f0cea32b682bb4aff79f4e Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 7 Jul 2026 16:32:44 -0400 Subject: [PATCH] Fix CRLF check in parsing SDAS objects --- 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 134ff7c3..cf6d74ff 100644 --- a/src/link/sdas_obj.cpp +++ b/src/link/sdas_obj.cpp @@ -53,7 +53,7 @@ static int nextLine(std::vector &lineBuf, Location &where, FILE *file) { } while (firstChar != EOF && firstChar != '\r' && firstChar != '\n'); [[fallthrough]]; case '\r': - if (firstChar == '\r' && getc(file) != '\n') { + if (firstChar == '\r') { consumeLF(where, file); } [[fallthrough]];