Lines Matching defs:op
244 syntax(const char *op, const char *msg)
247 if (op && *op)
248 error("%s: %s", op, msg);
333 struct t_op const *op;
337 op = t_wp_op;
340 syntax(op->op_text, "argument expected");
342 switch (op->op_num) {
634 struct t_op const *op;
641 if ((op = findop(s)) != NULL) {
642 if (!((op->op_type == UNOP && isoperand()) ||
643 (op->op_num == LPAREN && *(t_wp+1) == 0))) {
644 t_wp_op = op;
645 return op->op_num;
655 struct t_op const *op;
662 if ((op = findop(s)) != NULL)
663 return op->op_type == BINOP && (t[0] != ')' || t[1] != '\0');