Lines Matching defs:errmsg
36 static char* errmsg; /* subexpr() error message */
288 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "more tokens expected";
319 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "too many )'s";
328 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "closing ) expected";
334 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "operator expected";
361 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = ": expected for ? operator";
509 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "divide by zero";
521 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "# must precede a predicate identifier";
564 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "invalid token";
567 if (errmsg) return 0;
575 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "operand expected";
601 if (peektoken == ':' && !errmsg && !(pp.mode & INACTIVE)) errmsg = "invalid use of :";
602 if (errmsg)
604 error(2, "%s in expression", errmsg);
605 errmsg = 0;