log_warn(" ");
}
-static char _sel_syntax_error_at_msg[] = "Selection syntax error at '%s'.";
+static const char _sel_syntax_error_at_msg[] = "Selection syntax error at '%s'.";
+static const char _sel_help_ref_msg[] = "Use \'help\' for selection to get more help.";
/*
* Selection parser
c = we[0];
tmp = (char *) we;
tmp[0] = '\0';
+ _display_fields(rh, 0, 1);
+ log_warn(" ");
log_error("Selection field is uncomparable: %s.", ws);
tmp[0] = c;
goto bad;
return sn;
bad:
log_error(_sel_syntax_error_at_msg, s);
+ log_error(_sel_help_ref_msg);
*next = s;
return NULL;
}
if (*next) {
log_error("Expecting logical operator");
log_error(_sel_syntax_error_at_msg, next);
+ log_error(_sel_help_ref_msg);
goto error;
}