Michael Stapelberg's patch: <patch>

diff --git a/read.c b/read.c
index b870aa8..3c67e55 100644
--- a/read.c
+++ b/read.c
@@ -1122,6 +1122,8 @@ eval (struct ebuffer *ebuf, int set_default)
                one of the most common bugs found in makefiles...  */
             if (cmd_prefix == '\t' && strneq (line, "        ", 8))
               O (fatal, fstart, _("missing separator (did you mean TAB instead 
of 8 spaces?)"));
+            else if (cmd_prefix == '\t' && strneq (line, " ", 1))
+              O (fatal, fstart, _("missing separator (expected TAB, found 
SPACE)"));
             else
               O (fatal, fstart, _("missing separator"));
           }
--
2.9.3

</patch>
Rather than strneq (line, " ", 1), I suggest isspace(line[0]),

        Eddy.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to