We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f68075 commit f441434Copy full SHA for f441434
src/parser/seclang-parser.yy
@@ -397,7 +397,10 @@ op:
397
}
398
| FREE_TEXT
399
{
400
- Operator *op = Operator::instantiate("\"@rx " + $1 + "\"");
+ std::string text = std::string($1);
401
+ text.pop_back();
402
+ text.erase(0, 1);
403
+ Operator *op = Operator::instantiate("\"@rx " + text + "\"");
404
const char *error = NULL;
405
if (op->init(driver.ref.back(), &error) == false) {
406
driver.error(@0, error);
0 commit comments