summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-02-06 22:58:07 +0000
committerRoland McGrath <roland@redhat.com>1995-02-06 22:58:07 +0000
commitbc1e6b66f180f48fb1c4b76d2fd3a8bf72f01131 (patch)
treeb0545c54e6aa8c252bfe8d09d2c475a4b42e4a2b
parentbbd5e695f5aec16f4d231768c1c3815de729f494 (diff)
downloadgunmake-bc1e6b66f180f48fb1c4b76d2fd3a8bf72f01131.tar.gz
(read_makefile): For bogus line starting with tab, ignore it if blank after
removing comments.
-rw-r--r--read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index 6787d14..87a2f12 100644
--- a/read.c
+++ b/read.c
@@ -1,5 +1,5 @@
/* Reading and parsing of makefiles for GNU Make.
-Copyright (C) 1988, 89, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
+Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -631,7 +631,7 @@ read_makefile (filename, flags)
;
else if (lb.buffer[0] == '\t')
{
- p = lb.buffer;
+ p = collapsed; /* Ignore comments. */
while (isblank (*p))
++p;
if (*p == '\0')