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; }