summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/fplot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/fplot.c b/sys/src/cmd/fplot.c
index 5f85ddbc5..8fba63a28 100644
--- a/sys/src/cmd/fplot.c
+++ b/sys/src/cmd/fplot.c
@@ -264,7 +264,7 @@ parse(Code *c, char *s)
if(t->op->type == OBINARY)
while(opstackbot != nil && opstackbot->type == TOP &&
(opstackbot->op->prec > t->op->prec ||
- t->op->rassoc && opstackbot->op->prec == t->op->prec))
+ !t->op->rassoc && opstackbot->op->prec == t->op->prec))
pop(c);
push(t);
break;