(define_makeflags): When no flags, set WORDS to zero.
authorRoland McGrath <roland@redhat.com>
Mon, 7 Nov 1994 18:57:56 +0000 (18:57 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 7 Nov 1994 18:57:56 +0000 (18:57 +0000)
main.c

diff --git a/main.c b/main.c
index 61b98a6..eca7298 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1782,7 +1782,10 @@ define_makeflags (all, makefile)
        }
     }
   else if (p == &flagstring[1])
-    --p;
+    {
+      words = 0;
+      --p;
+    }
   else if (p[-1] == '-')
     /* Kill the final space and dash.  */
     p -= 2;