missing parens (pad allocation) in the tokener.
p4raw-id: //depot/thrperl@5
OP *left;
OP *right;
{
+ dTHR;
CONDOP *condop;
OP *flip;
OP *flop;
HV *newstash;
AV* comppadlist;
+#ifdef USE_THREADS
MUTEX_LOCK(&eval_mutex);
if (eval_owner && eval_owner != thr)
while (eval_owner)
COND_WAIT(&eval_cond, &eval_mutex);
eval_owner = thr;
MUTEX_UNLOCK(&eval_mutex);
+#endif /* USE_THREADS */
in_eval = 1;
/* set up a scratch pad */
/* compiled okay, so do it */
+#ifdef USE_THREADS
MUTEX_LOCK(&eval_mutex);
eval_owner = 0;
COND_SIGNAL(&eval_cond);
MUTEX_UNLOCK(&eval_mutex);
+#endif /* USE_THREADS */
RETURNOP(eval_start);
}
if (*s == '{')
tokenbuf[0] = '%';
}
- if (tmp = pad_findmy(tokenbuf) != NOT_IN_PAD) {
+ if ((tmp = pad_findmy(tokenbuf)) != NOT_IN_PAD) {
nextval[nexttoke].opval = newOP(OP_PADANY, 0);
nextval[nexttoke].opval->op_targ = tmp;
force_next(PRIVATEREF);