From: Alan T. DeKok Date: Sat, 28 May 2022 14:05:33 +0000 (-0400) Subject: add precendence definitions for =~ and !~ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2b80c2a12bb6609897015cc98e2ac70262ae815;p=thirdparty%2Ffreeradius-server.git add precendence definitions for =~ and !~ --- diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index 38c5e197a14..9c1ecf9b8a6 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -835,7 +835,10 @@ static const int precedence[T_TOKEN_LAST] = { [T_MUL] = P(8,0), [T_DIV] = P(8,1), - [T_LBRACE] = P(9,0), + [T_OP_REG_EQ] = P(9,0), + [T_OP_REG_NE] = P(9,0), + + [T_LBRACE] = P(10,0), }; #define fr_sbuff_skip_whitespace(_x) \