aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-29 11:21:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-29 11:21:46 +0200
commit6fa958ee23d0beb62f687d3d9137c774b4960197 (patch)
tree497e66e89cb6f65a24fd7e192ef8c5032974c82c /build2/parser.cxx
parent3cf3b73ffc6881d5428a735736a347f6e143b366 (diff)
Rename level[1-6]() to l[1-6]()
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r--build2/parser.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx
index 98ca30d..d729a4c 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -529,7 +529,7 @@ namespace build2
ifs.exceptions (ifstream::failbit | ifstream::badbit);
- level5 ([&]{trace (t) << "entering " << p;});
+ l5 ([&]{trace (t) << "entering " << p;});
enter_buildfile (p);
@@ -548,7 +548,7 @@ namespace build2
if (tt != type::eos)
fail (t) << "unexpected " << t;
- level5 ([&]{trace (t) << "leaving " << p;});
+ l5 ([&]{trace (t) << "leaving " << p;});
lexer_ = ol;
path_ = op;
@@ -604,7 +604,7 @@ namespace build2
p /= path ("buildfile");
}
- level6 ([&]{trace (l) << "relative path " << p;});
+ l6 ([&]{trace (l) << "relative path " << p;});
// Determine new out_base.
//
@@ -646,11 +646,11 @@ namespace build2
if (p.relative ())
p = scope_->src_path () / p.leaf ();
- level6 ([&]{trace (l) << "absolute path " << p;});
+ l6 ([&]{trace (l) << "absolute path " << p;});
if (!root_->buildfiles.insert (p).second) // Note: may be "new" root.
{
- level5 ([&]{trace (l) << "skipping already included " << p;});
+ l5 ([&]{trace (l) << "skipping already included " << p;});
scope_ = ocs;
root_ = ors;
continue;
@@ -665,7 +665,7 @@ namespace build2
ifs.exceptions (ifstream::failbit | ifstream::badbit);
- level5 ([&]{trace (t) << "entering " << p;});
+ l5 ([&]{trace (t) << "entering " << p;});
enter_buildfile (p);
@@ -689,7 +689,7 @@ namespace build2
process_default_target (t);
- level5 ([&]{trace (t) << "leaving " << p;});
+ l5 ([&]{trace (t) << "leaving " << p;});
default_target_ = odt;
lexer_ = ol;
@@ -2138,7 +2138,7 @@ namespace build2
//
if (rs != root_)
{
- level5 ([&]{trace << "switching to root scope " << rs->out_path ();});
+ l5 ([&]{trace << "switching to root scope " << rs->out_path ();});
root_ = rs;
}
@@ -2170,7 +2170,7 @@ namespace build2
target& dt (*default_target_);
- level5 ([&]{trace (t) << "creating current directory alias for " << dt;});
+ l5 ([&]{trace (t) << "creating current directory alias for " << dt;});
target& ct (
targets.insert (