From a3e9d613aebcf9bb824339fb3e4954930a9e75f2 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 12 Jul 2002 11:20:32 +0000 Subject: [PATCH] fixed PREV parsing ... Gonzalo Augusto Arana Tagle git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@158 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_rpncalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_rpncalc.c b/src/rrd_rpncalc.c index 3c7ccb8..41d1ce3 100644 --- a/src/rrd_rpncalc.c +++ b/src/rrd_rpncalc.c @@ -271,7 +271,7 @@ rpn_parse(void *key_hash,char *expr,long (*lookup)(void *,char*)){ #define match_op_param(VV,VVV) \ - else if (sscanf(expr, #VVV "(%[a-z0-9]s)",vname) == 1) { \ + else if (sscanf(expr, #VVV "(" DEF_NAM_FMT ")",vname) == 1) { \ int length = 0; \ if ((length = strlen(#VVV)+strlen(vname)+2, \ expr[length] == ',' || expr[length] == '\0') ) { \ -- 2.30.2