From 23cbbc7f7cdcb7721d8d1cf4e70ae58184f8cc7e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Jun 2020 08:19:33 +0200 Subject: Factor ad hoc C++ and Buildscript rules into separate files --- libbuild2/parser.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libbuild2/parser.cxx') 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 #include +#include +#include + #include // 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) { -- cgit v1.1