Document the change from #921 in the manual.
authorNico Weber <thakis@chromium.org>
Fri, 19 Jun 2015 00:22:48 +0000 (17:22 -0700)
committerNico Weber <thakis@chromium.org>
Fri, 19 Jun 2015 00:28:20 +0000 (17:28 -0700)
doc/manual.asciidoc

index 217ff28..003c71e 100644 (file)
@@ -920,9 +920,12 @@ Evaluation and scoping
 
 Top-level variable declarations are scoped to the file they occur in.
 
+Rule declarations are also scoped to the file they occur in.
+_(Available since Ninja 1.6)_
+
 The `subninja` keyword, used to include another `.ninja` file,
 introduces a new scope.  The included `subninja` file may use the
-variables from the parent file, and shadow their values for the file's
+variables and rules from the parent file, and shadow their values for the file's
 scope, but it won't affect values of the variables in the parent.
 
 To include another `.ninja` file in the current scope, much like a C