Fix several minor issues on the seclang grammar

This commit is contained in:
Felipe Zimmerle
2015-08-22 11:06:28 -03:00
parent e78d7f5b91
commit 1065e297b2
15 changed files with 150 additions and 70 deletions

View File

@@ -76,9 +76,6 @@ Action *Action::instantiate(const std::string& name) {
if (name.compare(0, rule_id.length(), rule_id) == 0) {
return new RuleId(name);
}
if (name.compare(0, severity.length(), severity) == 0) {
return new Severity(name);
}
if (name == "chain") {
return new Chain(name);
}