From 137ac31a232e002ffed62ef2f6beb1c0557b4aa8 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 2 Feb 2000 22:25:27 +0000 Subject: [PATCH] Fixed test stmnt errors in previous commit. --- src/libCom/calc/postfix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/calc/postfix.c b/src/libCom/calc/postfix.c index 96f9f55b9..5dce81be5 100644 --- a/src/libCom/calc/postfix.c +++ b/src/libCom/calc/postfix.c @@ -446,7 +446,7 @@ long epicsShareAPI postfix(char *pinfix,char *ppostfix,short *perror) /* add operators of higher or equal priority to */ /* postfix notation */ while ((pstacktop >= stack+1) && - (pstacktop->in_stack_pri >= pelement->in_coming_pri)) { + (pstacktop->in_stack_pri >= in_coming_pri)) { *ppostfix++ = pstacktop->code; pstacktop--; } @@ -506,7 +506,7 @@ long epicsShareAPI postfix(char *pinfix,char *ppostfix,short *perror) /* add operators of higher priority to */ /* postfix notation */ while ((pstacktop >= stack+1) && - (pstacktop->in_stack_pri >= pelement->in_coming_pri)) { + (pstacktop->in_stack_pri > pelement->in_coming_pri)) { *ppostfix++ = pstacktop->code; pstacktop--; }