Code

frontend/grammar: Drop support for the special 'host' field.
[sysdb.git] / src / frontend / grammar.y
index 2e5274469057b12ac195997982e4018df727268e..6791806b0bf473593330a7c057b75644268d7d0e 100644 (file)
@@ -515,14 +515,6 @@ expression:
                        sdb_object_deref(SDB_OBJ($3)); $3 = NULL;
                }
        |
-       HOST_T
-               {
-                       /* XXX: this doesn't work correctly when not
-                        * querying hosts => use <type>.<field> instead
-                        * and let the analyzer verify <type> */
-                       $$ = sdb_store_expr_fieldvalue(SDB_FIELD_NAME);
-               }
-       |
        field
                {
                        $$ = sdb_store_expr_fieldvalue($1);