diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-05 09:28:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-05 09:28:01 +0000 |
commit | 61c3bdd3dbcc159bb104561d5ef9a28e75521035 (patch) | |
tree | 729f117152fd54e7e0e0b3bee616eb6b769741bb /sbin/pfctl/parse.y | |
parent | e0d046f464ed2c6bb2d23d865629d38d6f6973e4 (diff) |
noone responds.
this diff makes } and { not be part of symbols
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 4b5742b6561..2de09e5f771 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.42 2001/10/24 09:18:35 dhartmei Exp $ */ +/* $OpenBSD: parse.y,v 1.43 2001/11/05 09:28:00 deraadt Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -1493,8 +1493,9 @@ top: } #define allowed_in_string(x) \ - isalnum(x) || (ispunct(x) && x != '(' && x != ')' && x != '<' && \ - x != '>' && x != '!' && x != '=' && x != '/' && x != '#' && x != ',') + (isalnum(x) || (ispunct(x) && x != '(' && x != ')' && \ + x != '{' && x != '}' && x != '<' && x != '>' && \ + x != '!' && x != '=' && x != '/' && x != '#' && x != ',')) if (isalnum(c)) { do { |