From 66a98861d0fbb7cba742b63bf97268a2a619c5e0 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Sat, 10 Aug 2024 15:51:34 +0200 Subject: Some small updates here and there --- src/augmentkv6/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/augmentkv6') diff --git a/src/augmentkv6/main.cpp b/src/augmentkv6/main.cpp index 303721f..ae8405a 100644 --- a/src/augmentkv6/main.cpp +++ b/src/augmentkv6/main.cpp @@ -90,10 +90,10 @@ bool parse(Kv1Records &into) { parser.parse(); bool ok = true; - if (!parser.gerrors.empty()) { + if (!parser.global_errors.empty()) { ok = false; fputs("Parser reported errors:\n", stderr); - for (const auto &error : parser.gerrors) + for (const auto &error : parser.global_errors) fprintf(stderr, "- %s\n", error.c_str()); } if (!parser.warns.empty()) { -- cgit v1.2.3