- dict_set_filter (default_dict, v);
- }
-
- return CMD_SUCCESS;
-}
-\f
-/* Expression on PROCESS IF. */
-struct expression *process_if_expr;
-
-/* Parses the PROCESS IF command. */
-int
-cmd_process_if (void)
-{
- struct expression *e;
-
- e = expr_parse (default_dict, EXPR_BOOLEAN);
- if (!e)
- return CMD_FAILURE;
-
- if (token != '.')
- {
- expr_free (e);
- lex_error (_("expecting end of command"));
- return CMD_FAILURE;
- }
-
- if (process_if_expr)
- {
- msg (SW, _("Only last instance of this command is in effect."));
- expr_free (process_if_expr);