summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c223b3a)
raw | patch | inline | side by side (parent: c223b3a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 12 Jul 2002 11:20:32 +0000 (11:20 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 12 Jul 2002 11:20:32 +0000 (11:20 +0000) |
program/src/rrd_rpncalc.c | patch | blob | history |
index 3c7ccb81ac6f2f518c748c33396ef3e065b3badc..41d1ce3e4778690be5cddb57a7c32bbbf9f32aa4 100644 (file)
#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') ) { \