Introduces ActionWithExecution

This commit is contained in:
Felipe Zimmerle
2020-06-08 13:09:47 -03:00
parent 0a8c808f7a
commit a733313589
65 changed files with 739 additions and 606 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -84,6 +84,7 @@ class Driver;
#include "src/actions/disruptive/redirect.h"
#include "src/actions/init_col.h"
#include "src/actions/exec.h"
#include "src/actions/expire_var.h"
#include "src/actions/log_data.h"
#include "src/actions/log.h"
#include "src/actions/maturity.h"
@@ -353,7 +354,7 @@ using namespace modsecurity::operators;
a = std::move(c);
#line 357 "seclang-parser.hh"
#line 358 "seclang-parser.hh"
# include <cassert>
# include <cstdlib> // std::abort
@@ -487,7 +488,7 @@ using namespace modsecurity::operators;
#endif
namespace yy {
#line 491 "seclang-parser.hh"
#line 492 "seclang-parser.hh"
@@ -8628,7 +8629,7 @@ switch (yykind)
}
} // yy
#line 8632 "seclang-parser.hh"
#line 8633 "seclang-parser.hh"

View File

@@ -45,6 +45,7 @@ class Driver;
#include "src/actions/disruptive/redirect.h"
#include "src/actions/init_col.h"
#include "src/actions/exec.h"
#include "src/actions/expire_var.h"
#include "src/actions/log_data.h"
#include "src/actions/log.h"
#include "src/actions/maturity.h"
@@ -2723,8 +2724,7 @@ act:
}
| ACTION_EXPIRE_VAR
{
//ACTION_NOT_SUPPORTED("ExpireVar", @0);
ACTION_CONTAINER($$, new actions::Action($1));
ACTION_CONTAINER($$, new actions::ExpireVar($1));
}
| ACTION_ID
{