summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-06-24 17:23:31 +0000
committerache <ache@FreeBSD.org>1995-06-24 17:23:31 +0000
commit904e84eb3ba9d6455be659526a99041eda9df219 (patch)
tree335474ba340a8af3ff3ef28fdb0f6b85486ad7c9 /usr.bin/make
parentdfc3543be3d2d49efe3406eb29d02ee23e662582 (diff)
downloadFreeBSD-src-904e84eb3ba9d6455be659526a99041eda9df219.zip
FreeBSD-src-904e84eb3ba9d6455be659526a99041eda9df219.tar.gz
Don't make error on ^<spaces>\n
Obtained from: NetBSD
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 846ce30..26f7413 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;
}
OpenPOWER on IntegriCloud