From: oetiker Date: Sat, 6 Jul 2002 15:45:15 +0000 (+0000) Subject: new operators must be added at the END of the sequence ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c223b3a5c55641dbd7cb86660b9242edcc57d988;p=rrdtool-all.git new operators must be added at the END of the sequence ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@157 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_rpncalc.h b/program/src/rrd_rpncalc.h index 915c949b..ecf11c83 100644 --- a/program/src/rrd_rpncalc.h +++ b/program/src/rrd_rpncalc.h @@ -8,12 +8,12 @@ * This is because COMPUTE (CDEF) DS store OP nodes by number (name is not * an option due to limited par array size). OP nodes must have the same * numeric values, otherwise the stored numbers will mean something different. */ -enum op_en {OP_NUMBER=0,OP_VARIABLE,OP_INF,OP_PREV,OP_PREV_OTHER,OP_NEGINF, +enum op_en {OP_NUMBER=0,OP_VARIABLE,OP_INF,OP_PREV,OP_NEGINF, OP_UNKN,OP_NOW,OP_TIME,OP_ADD,OP_MOD,OP_SUB,OP_MUL, OP_DIV,OP_SIN, OP_DUP, OP_EXC, OP_POP, OP_COS,OP_LOG,OP_EXP,OP_LT,OP_LE,OP_GT,OP_GE,OP_EQ,OP_IF, OP_MIN,OP_MAX,OP_LIMIT, OP_FLOOR, OP_CEIL, - OP_UN,OP_END,OP_LTIME,OP_NE,OP_ISINF}; + OP_UN,OP_END,OP_LTIME,OP_NE,OP_ISINF,OP_PREV_OTHER}; typedef struct rpnp_t { enum op_en op;