Code

Frontend: Improve debug log when destroying a connection.
[sysdb.git] / src / frontend / scanner.l
index 9eec4de6c455e3dadd99fe586c2d4e68ba324395..dd2a86cf5273b4e5e3c450c02306820b282a1a46 100644 (file)
@@ -100,6 +100,8 @@ string              ('[^']*')
                        return LIST;
                else if (! strcasecmp(yytext, "LOOKUP"))
                        return LOOKUP;
+               else if (! strcasecmp(yytext, "NOT"))
+                       return NOT;
                else if (! strcasecmp(yytext, "OR"))
                        return OR;
                else if (! strcasecmp(yytext, "WHERE"))
@@ -115,7 +117,9 @@ string              ('[^']*')
        }
 
 =      { return CMP_EQUAL; }
+!=     { return CMP_NEQUAL; }
 =~     { return CMP_REGEX; }
+!~     { return CMP_NREGEX; }
 
 .      { /* XXX: */ return yytext[0]; }