aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index 443253c..5c9e2cb 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -387,24 +387,6 @@ namespace build
p.normalize ();
- // See if there is a trigger for this path.
- //
- const scope::trigger_type* trig (nullptr);
- {
- auto i (root_->triggers.find (p));
-
- if (i != root_->triggers.end ())
- {
- if (!i->second (true, *scope_, p))
- {
- level4 ([&]{trace (l) << "trigger instructed to skip " << p;});
- continue;
- }
-
- trig = &i->second;
- }
- }
-
ifstream ifs (p.string ());
if (!ifs.is_open ())
@@ -449,9 +431,6 @@ namespace build
auto v (root_->vars["src_root"]);
src_root_ = v ? &v.as<const dir_path&> () : nullptr;
}
-
- if (trig != nullptr)
- (*trig) (false, *scope_, p);
}
if (tt == type::newline)