Lines Matching refs:opp
227 register OPTAB *opp; /* Operator stack */ in eval() local
238 opp = opstack; in eval()
239 opp->op = OP_END; /* Mark bottom of stack */ in eval()
240 opp->prec = opdope[OP_END]; /* And its precedence */ in eval()
241 opp->skip = 0; /* Not skipping now */ in eval()
246 opp->skip, binop, infile->bptr); in eval()
248 if ((op = evallex(opp->skip)) == OP_SUB && binop == 0) in eval()
256 opname[op], opdope[op], binop, opp->skip); in eval()
290 opname[op], prec, opname[opp->op], opp->prec, opp->skip); in eval()
292 if (prec > opp->prec) { in eval()
297 op1 = opp->skip; /* Save skip for test */ in eval()
301 opp++; in eval()
302 if (opp >= &opstack[NEXP]) { in eval()
307 opp->op = (char)op; in eval()
308 opp->prec = (char)prec; in eval()
316 opp->skip = S_ANDOR; /* And/or skip starts */ in eval()
318 opp->skip = (char)((op1 & S_ANDOR) | ((!skip) ? S_QUEST : 0)); in eval()
320 opp->skip = (char)((op1 & S_ANDOR) in eval()
324 opp->skip = (char)op1; /* skipping unchanged. */ in eval()
329 dumpstack(opstack, opp, value, valp); in eval()
337 skip = opp->skip; /* Remember skip value */ in eval()
338 switch ((op1 = opp->op)) { /* Look at stacked op */ in eval()
349 opp--; /* Unstack it */ in eval()
356 opp--; /* Unstack : */ in eval()
357 if (opp->op != OP_QUE) { /* Matches ? on stack? */ in eval()
359 opname[(int)opp->op]); in eval()
366 opp--; /* Unstack the operator */ in eval()
369 dumpstack(opstack, opp, value, valp); in eval()
374 dumpstack(opstack, opp, value, valp); in eval()
908 dumpstack(opstack, opp, value, valp) in dumpstack() argument
910 register OPTAB *opp; /* Operator stack */
915 while (opp > opstack) {
916 fprintf( pCppOut, " [%2d] %2d %03o %d %s\n", opp - opstack,
917 opp->op, opp->prec, opp->skip, opname[opp->op]);
918 opp--;