Commit b481b31e b481b31ede6b8fe148d7c13423be6f2e371031f0 by Sergey Poznyakoff

(yylex): allow for '-' in field names. Notice,

that when the dash is used to mean 'range' and the first message in the
range is not numeric, there should be whitespace between
them.
1 parent 0264b0fb
......@@ -266,7 +266,7 @@ yylex()
char *p = cur_p;
int len;
while (*cur_p && *cur_p != ',' && *cur_p != '-' && *cur_p != ':')
while (*cur_p && *cur_p != ',' && *cur_p != ':')
cur_p++;
len = cur_p - p + 1;
yylval.string = xmalloc (len);
......