Commit 771acb54 authored by Pietro Saccardi's avatar Pietro Saccardi

Supporting the same syntax as the original ifauth plugin. [skip ci]

parent 113463fa
Pipeline #429 skipped
......@@ -101,7 +101,7 @@ class OpAnd extends ElementDefinition {
class OpOr extends ElementDefinition {
public function __construct() {
$T_OR = new TokenDefinition('||', 'OR');
$T_OR = new TokenDefinition('||', 'OR', '/(\|\||,)/');
parent::__construct('Or', Fixing::Infix, $T_OR, 5);
public function _evaluateWellFormed($elmInstance) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment