Yet another refactoring in Rule

This commit is contained in:
Felipe Zimmerle
2019-02-16 22:55:25 -03:00
parent b66224853b
commit fda03c0016
26 changed files with 1018 additions and 931 deletions

View File

@@ -46,9 +46,10 @@ class RuleScript : public Rule {
public:
RuleScript(const std::string &name,
std::vector<Action *> *actions,
Transformations *t,
std::unique_ptr<std::string> fileName,
int lineNumber)
: Rule(NULL, NULL, actions, std::move(fileName), lineNumber),
: Rule(NULL, NULL, actions, t, std::move(fileName), lineNumber),
m_name(name) { }
bool init(std::string *err);