From 1036a9d27aee54c4098c6c06e2435b91981d87a7 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 26 May 2006 01:06:12 +0000 Subject: [PATCH] \ is except for \ -- no exceptions. much like how other things work. ok henning --- src/usr.sbin/ntpd/parse.y | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/usr.sbin/ntpd/parse.y b/src/usr.sbin/ntpd/parse.y index 981e03f5..7d9f8a52 100644 --- a/src/usr.sbin/ntpd/parse.y +++ b/src/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 @@ -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;