From e25e2fb7f54968b89f46f517c03a41577819e567 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 7 Nov 1994 18:57:56 +0000 Subject: [PATCH] (define_makeflags): When no flags, set WORDS to zero. --- main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 61b98a64..eca72985 100644 --- 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;