Code

core, frontend: Added !=, !~, and NOT operators.
[sysdb.git] / src / frontend / scanner.l
index 9eec4de6c455e3dadd99fe586c2d4e68ba324395..32c13c54c355865d4024e94f683a06b6330b9492 100644 (file)
@@ -115,7 +115,9 @@ string              ('[^']*')
        }
 
 =      { return CMP_EQUAL; }
+!=     { return CMP_NEQUAL; }
 =~     { return CMP_REGEX; }
+!~     { return CMP_NREGEX; }
 
 .      { /* XXX: */ return yytext[0]; }