From 5771cbf84dcf46b8163946dcd20d7028aa18a56b Mon Sep 17 00:00:00 2001 From: Brandon Heath Date: Thu, 19 Nov 2020 11:09:11 -0600 Subject: [PATCH] Need to fail when sourcefile validation fails. (#65) Co-authored-by: Brandon Heath --- sources/output_yaml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/output_yaml.cpp b/sources/output_yaml.cpp index 1756560..f87e240 100644 --- a/sources/output_yaml.cpp +++ b/sources/output_yaml.cpp @@ -51,7 +51,7 @@ void output_yaml(json j, // Process sourcefile yaml_sourcefile_emitter sourcefile_emitter(src_root, dst_root, mode, options); auto sourcefile_emitted = hyde::json::object(); - sourcefile_emitter.emit(j, sourcefile_emitted); + failure |= sourcefile_emitter.emit(j, sourcefile_emitted); // Process classes yaml_class_emitter class_emitter(src_root, dst_root, mode, options);