From d17f7c2fa5efe433d4eb145db90f420b09e98f79 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 8 Nov 2023 11:42:11 +0100 Subject: [PATCH] libsmartcols: (filter) add upper case EQ,NE,LE,LT,GT and GE operators Signed-off-by: Karel Zak --- libsmartcols/src/filter-scanner.l | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libsmartcols/src/filter-scanner.l b/libsmartcols/src/filter-scanner.l index 32d6ad7a2f..ee3ed0c86d 100644 --- a/libsmartcols/src/filter-scanner.l +++ b/libsmartcols/src/filter-scanner.l @@ -24,14 +24,14 @@ and|AND|"&&" return T_AND; or|OR|"||" return T_OR; "!"|not|NOT return T_NEG; -eq|"==" return T_EQ; -ne|"!=" return T_NE; +eq|EQ|"==" return T_EQ; +ne|NE|"!=" return T_NE; -le|"<=" return T_LE; -lt|"<" return T_LT; +le|LE|"<=" return T_LE; +lt|LT|"<" return T_LT; -ge|">=" return T_GE; -gt|">" return T_GT; +ge|GE|">=" return T_GE; +gt|GT">" return T_GT; "=~" return T_REG; "!~" return T_NREG; -- 2.47.3