Lines Matching defs:error

284  * Special return value for Var_Parse, indicating a parse error.  It may be
285 * caused by an undefined variable, a syntax error in a modifier or
1535 /* Print the error caused by a regcomp or regexec call. */
1618 RegexError(xrv, &args->re, "Unexpected regex error");
1916 * as a fallback, issue an error message using Parse_Error (preferred over
1934 * If evaluating fails, the fallback error message "Bad modifier" is printed
1936 * error message, continuing as if nothing had happened. TODO: This should be
1937 * fixed by adding proper error handling to Var_Subst, Var_Parse,
2075 /* Error out without the standard error message. */
2625 char *output, *error;
2626 output = Cmd_Exec(cmd.str, &error);
2628 if (error != NULL) {
2630 Error("%s", error);
2631 free(error);
2789 if (res.error != NULL && !args->error_reported) {
2793 res.error, args->pattern, args->neg ? ":N" : ":M");
2821 bool error;
2838 if (args->error) {
2865 args.error = false;
2871 } else if (strncmp(p, "error", 5) == 0) {
2873 args.error = true;
2967 int error;
2998 error = regcomp(&args.re, re.str, REG_EXTENDED);
2999 if (error != 0) {
3000 RegexError(error, &args.re, "Regex compilation error");
3550 char *output, *error;
3551 output = Cmd_Exec(val.str, &error);
3552 if (error != NULL) {
3553 Error("%s", error);
3554 free(error);
3739 char *output, *error;
3740 output = Cmd_Exec(Expr_Str(expr), &error);
3741 if (error != NULL) {
3742 Error("%s", error);
3743 free(error);
3804 quot, value == var_Error ? "error" : value, quot);
3810 quot, value == var_Error ? "error" : value, quot,
3926 return AMIR_OUT; /* error already reported */
3997 * TODO: propagate parse error to the enclosing
4201 return false; /* XXX: Missing error message */
4475 * TODO: After a parse error, the value of *pp is
4478 * location of the parse error, or at the end of the
4481 * return var_Error if there was a parse error.
4486 * XXX: It is not guaranteed that an error message has
4492 * XXX: It is not guaranteed that an error message has
4614 * discard the actual value and return an error marker
4663 * equally well be a parse error; see
4732 * Set true if an error has already been reported, to prevent a