diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-26 01:06:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-26 01:06:13 +0000 |
commit | 834226bdf3265a4e022695e729a15d84ad31f687 (patch) | |
tree | 6ee18293994fc4614262342323778d65e66bc6b3 /usr.sbin/ntpd/parse.y | |
parent | c4932b8a82619169fd00c10a811c6aa4708683e8 (diff) |
\<char> is <char> except for \<newline> -- no exceptions. much like how
other things work. ok henning
Diffstat (limited to 'usr.sbin/ntpd/parse.y')
-rw-r--r-- | usr.sbin/ntpd/parse.y | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ntpd/parse.y b/usr.sbin/ntpd/parse.y index 981e03f5103..7d9f8a52609 100644 --- a/usr.sbin/ntpd/parse.y +++ b/usr.sbin/ntpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.25 2005/06/19 16:42:57 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.26 2006/05/26 01:06:12 deraadt Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -272,9 +272,7 @@ lgetc(FILE *f) while ((c = getc(f)) == '\\') { next = getc(f); if (next != '\n') { - if (isspace(next)) - yyerror("whitespace after \\"); - ungetc(next, f); + c = next; break; } yylval.lineno = lineno; |