diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-09 08:19:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-09 08:19:33 +0200 |
commit | 23cbbc7f7cdcb7721d8d1cf4e70ae58184f8cc7e (patch) | |
tree | 182c9d097535f704f7899a1de81472b7b936fd03 /libbuild2/parser.cxx | |
parent | b8cffb11a45add241e4b8420ba96e116efccfbd9 (diff) |
Factor ad hoc C++ and Buildscript rules into separate files
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index f22f13a..e6a1c6a 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -20,6 +20,9 @@ #include <libbuild2/diagnostics.hxx> #include <libbuild2/prerequisite.hxx> +#include <libbuild2/rule-adhoc-cxx.hxx> +#include <libbuild2/rule-adhoc-buildscript.hxx> + #include <libbuild2/config/utility.hxx> // lookup_config using namespace std; @@ -1134,7 +1137,7 @@ namespace build2 { // Buildscript // - ar.reset (new adhoc_script_rule (loc, st.value.size ())); + ar.reset (new adhoc_buildscript_rule (loc, st.value.size ())); } else if (icasecmp (*lang, "c++") == 0) { |