diff options
Diffstat (limited to 'ifparser.c')
-rw-r--r-- | ifparser.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -202,7 +202,7 @@ parse_character(IfParser *g, const char *cp, long *valp) static const char * parse_value(IfParser *g, const char *cp, long *valp) { - const char *var, *varend; + const char *var; *valp = 0; @@ -286,6 +286,8 @@ parse_value(IfParser *g, const char *cp, long *valp) else if (!isvarfirstletter(*cp)) return CALLFUNC(g, handle_error) (g, cp, "variable or number"); else { + const char *varend; + DO(cp = parse_variable(g, cp, &var)); varend = cp; SKIPSPACE(cp); |