From 33e5f8f7b06995873ccb0f2e5edf6260377a85b2 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 24 Jun 1995 17:23:31 +0000 Subject: [PATCH] Don't make error on ^\n Obtained from: NetBSD --- usr.bin/make/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 846ce300f03..26f741390a9 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -2405,7 +2405,7 @@ Parse_File(name, stream) goto nextLine; } } - if (*line == '#') { + if (*line == '#' || *line == '\0') { /* If we're this far, the line must be a comment. */ goto nextLine; }