aboutsummaryrefslogtreecommitdiffstats
path: root/src/querykv1/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/querykv1/main.cpp')
-rw-r--r--src/querykv1/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/querykv1/main.cpp b/src/querykv1/main.cpp
index 9580328..11437f4 100644
--- a/src/querykv1/main.cpp
+++ b/src/querykv1/main.cpp
@@ -90,10 +90,10 @@ bool parse(const char *path, 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()) {