From 12a1044b81e39b8ca03faca641dacf76dda6c506 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 31 Aug 2018 16:24:27 +0200 Subject: Adjust terminology in diagnostic and comments --- build2/parser.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build2/parser.cxx b/build2/parser.cxx index 1dd49b6..4f532fc 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -470,7 +470,7 @@ namespace build2 if (tt == type::newline) { - // See if this is a target scope. + // See if this is a target block. // if (peek () == type::lcbrace) { @@ -482,13 +482,13 @@ namespace build2 fail (t) << "expected newline after {"; if (at.first) - fail (at.second) << "attributes before target scope"; + fail (at.second) << "attributes before target block"; else attributes_pop (); - // @@ TODO: target scope (also prerequisite scope below). + // @@ TODO: target block (also prerequisite block below). // - fail (nloc) << "target scopes are not yet supported" << + fail (nloc) << "target blocks are not yet supported" << info << "if migrating, remove ':'"; if (tt != type::rcbrace) @@ -789,7 +789,7 @@ namespace build2 // Set the variable in the last pns.size() prerequisites of each // target. This code is similar to target-specific case above. // - // @@ TODO prerequisite scope (also target scope above). + // @@ TODO prerequisite block (also target block above). // next (t, tt); attributes_push (t, tt); -- cgit v1.1