diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-07-19 14:30:09 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-07-19 14:30:09 +0000 |
commit | 771ab6f40e69d0d58417b233ebfc999aa73ac143 (patch) | |
tree | 860fe573752630b63ada45c43d974cb29a508cf9 /sbin/pfctl | |
parent | 0eb34b1dde1e709c56e0fec8e3ad3aa95734f521 (diff) |
And back out the last change again.
Diffstat (limited to 'sbin/pfctl')
-rw-r--r-- | sbin/pfctl/parse.y | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 3b55309f7c8..86de99cf219 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.125 2002/07/19 13:23:37 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.126 2002/07/19 14:30:08 dhartmei Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -2235,12 +2235,7 @@ lgetc(FILE *fin) return (pushback_buffer[--pushback_index]); while ((c = getc(fin)) == '\\') { - while ((next = getc(fin)) == ' ') - ; - if (next == '#') - do - next = getc(fin); - while (next != '\n' && next != EOF); + next = getc(fin); if (next != '\n') { ungetc(next, fin); break; @@ -2340,10 +2335,6 @@ top: *p = '\0'; break; } - if (c == '#') - do - c = lgetc(fin); - while (c != '\n' && c != EOF); if (c == '\n') continue; if (p + 1 >= buf + sizeof(buf) - 1) { |