(read_makefile): For bogus line starting with tab, ignore it if blank after
authorRoland McGrath <roland@redhat.com>
Mon, 6 Feb 1995 22:58:07 +0000 (22:58 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 6 Feb 1995 22:58:07 +0000 (22:58 +0000)
removing comments.

read.c

diff --git a/read.c b/read.c
index 6787d14b187a8132ca72b621a5d7c49f9ba3ef54..87a2f121bba791586ec4dc22422d7bb0b72283dd 100644 (file)
--- 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')