diff options
author | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2007-10-16 20:01:24 +0000 |
---|---|---|
committer | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2007-10-16 20:01:24 +0000 |
commit | aa07a191ee973728e771b15522d6ef7600994fb4 (patch) | |
tree | b73be04253667d59e3b23b2d6f8d6231435d8216 /sbin | |
parent | 2aea4e1f69df9a598eff00e01018d7dc7d96751b (diff) |
Allow '=' to end a number in all lexers.
Requested and OK deraadt@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipsecctl/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y index 895c9d09052..c46d0c8342d 100644 --- a/sbin/ipsecctl/parse.y +++ b/sbin/ipsecctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.129 2007/10/16 06:06:49 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.130 2007/10/16 20:01:23 mpf Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1093,7 +1093,7 @@ top: } #define allowed_to_end_number(x) \ - (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}') + (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}' || x == '=') if (c == '-' || isdigit(c)) { do { |