Correctly handling nginx configuration merge

This commit is contained in:
Felipe Zimmerle
2015-08-25 15:06:00 -03:00
parent 004ef066ed
commit e76af0eab9
2 changed files with 4 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ int Driver::addSecRule(Rule *rule) {
int Driver::parse(const std::string &f, const std::string &ref) {
lastRule = NULL;
loc.push_back(new yy::location());
if (ref.empty()) {
this->ref.push_back("<<reference missing or not informed>>");