From 738905351d8f32838bfdd34db6d7f30dba4594fc 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@158 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_rpncalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_rpncalc.c b/program/src/rrd_rpncalc.c index 3c7ccb81..41d1ce3e 100644 --- a/program/src/rrd_rpncalc.c +++ b/program/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