diff options
-rw-r--r-- | bin/chio/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ripd/parse.y | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/bin/chio/parse.y b/bin/chio/parse.y index a3af5f7c9ca..c72489b1c2c 100644 --- a/bin/chio/parse.y +++ b/bin/chio/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.5 2007/09/11 22:16:15 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.6 2007/09/11 23:06:37 deraadt Exp $ */ /* * Copyright (c) 2006 Bob Beck <beck@openbsd.org> @@ -296,7 +296,7 @@ yylex(void) } #define allowed_to_end_number(x) \ - (isspace(x) || c == ')' || c ==',' || c == '/' || c == '}') + (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}') if (c == '-' || isdigit(c)) { do { diff --git a/usr.sbin/dvmrpd/parse.y b/usr.sbin/dvmrpd/parse.y index 22f785cd6b1..e17f79fdc63 100644 --- a/usr.sbin/dvmrpd/parse.y +++ b/usr.sbin/dvmrpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.5 2007/09/11 22:15:20 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.6 2007/09/11 23:06:37 deraadt Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org> @@ -553,7 +553,7 @@ top: } #define allowed_to_end_number(x) \ - (isspace(x) || c == ')' || c ==',' || c == '/' || c == '}') + (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}') if (c == '-' || isdigit(c)) { do { diff --git a/usr.sbin/ripd/parse.y b/usr.sbin/ripd/parse.y index 16f8de40b51..7c5d3ae70a1 100644 --- a/usr.sbin/ripd/parse.y +++ b/usr.sbin/ripd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.7 2007/09/11 22:15:17 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.8 2007/09/11 23:06:37 deraadt Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -560,7 +560,7 @@ top: } #define allowed_to_end_number(x) \ - (isspace(x) || c == ')' || c ==',' || c == '/' || c == '}') + (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}') if (c == '-' || isdigit(c)) { do { |