summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-05 13:43:18 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-05 13:43:18 +0000
commitb481b31ede6b8fe148d7c13423be6f2e371031f0 (patch)
tree665966dbf0b3a2d6678a3e4e2b635695c8a8839c
parent0264b0fb9d505aa37769656975191f8de5b61f3e (diff)
downloadmailutils-b481b31ede6b8fe148d7c13423be6f2e371031f0.tar.gz
mailutils-b481b31ede6b8fe148d7c13423be6f2e371031f0.tar.bz2
(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.
-rw-r--r--mail/msgset.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/msgset.y b/mail/msgset.y
index 553bfb3fa..bb689bc4c 100644
--- a/mail/msgset.y
+++ b/mail/msgset.y
@@ -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);

Return to:

Send suggestions and report system problems to the System administrator.