aboutsummaryrefslogtreecommitdiffstats
path: root/src/augmentkv6/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/augmentkv6/main.cpp')
-rw-r--r--src/augmentkv6/main.cpp4
1 files changed, 2 insertions, 2 deletions
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) {
90 parser.parse(); 90 parser.parse();
91 91
92 bool ok = true; 92 bool ok = true;
93 if (!parser.gerrors.empty()) { 93 if (!parser.global_errors.empty()) {
94 ok = false; 94 ok = false;
95 fputs("Parser reported errors:\n", stderr); 95 fputs("Parser reported errors:\n", stderr);
96 for (const auto &error : parser.gerrors) 96 for (const auto &error : parser.global_errors)
97 fprintf(stderr, "- %s\n", error.c_str()); 97 fprintf(stderr, "- %s\n", error.c_str());
98 } 98 }
99 if (!parser.warns.empty()) { 99 if (!parser.warns.empty()) {