From: oetiker Date: Fri, 12 Jul 2002 11:20:32 +0000 (+0000) Subject: fixed PREV parsing ... Gonzalo Augusto Arana Tagle X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a3e9d613aebcf9bb824339fb3e4954930a9e75f2;p=rrdtool.git fixed PREV parsing ... Gonzalo Augusto Arana Tagle git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@158 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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') ) { \