diff options
author | Rutger Broekhoff | 2024-08-10 15:51:34 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2024-08-10 15:51:34 +0200 |
commit | 66a98861d0fbb7cba742b63bf97268a2a619c5e0 (patch) | |
tree | 433513c7f875c43a81bd4efe379fffc3e8d4c5ce /src/querykv1/main.cpp | |
parent | 279f790f078325582aa62e562a766204034766e4 (diff) | |
download | oeuf-66a98861d0fbb7cba742b63bf97268a2a619c5e0.tar.gz oeuf-66a98861d0fbb7cba742b63bf97268a2a619c5e0.zip |
Some small updates here and there
Diffstat (limited to 'src/querykv1/main.cpp')
-rw-r--r-- | src/querykv1/main.cpp | 4 |
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()) { |