about summary refs log tree commit diff stats
path: root/027trace.cc
diff options
context:
space:
mode:
Diffstat (limited to '027trace.cc')
-rw-r--r--027trace.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/027trace.cc b/027trace.cc
index 71a113ba..8056b81b 100644
--- a/027trace.cc
+++ b/027trace.cc
@@ -29,3 +29,13 @@ case HIDE_WARNINGS: {
   Hide_warnings = true;
   break;
 }
+
+:(before "End Primitive Recipe Declarations")
+SHOW_WARNINGS,
+:(before "End Primitive Recipe Numbers")
+Recipe_ordinal["show-warnings"] = SHOW_WARNINGS;
+:(before "End Primitive Recipe Implementations")
+case SHOW_WARNINGS: {
+  Hide_warnings = false;
+  break;
+}