diff options
author | Roland McGrath <roland@redhat.com> | 1994-11-07 18:57:56 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-11-07 18:57:56 +0000 |
commit | e25e2fb7f54968b89f46f517c03a41577819e567 (patch) | |
tree | e2d0ace559583c0caeba133ba8d0759dcbc90fa1 /main.c | |
parent | 1a886b635915445f5b1cc6a9c475cfbb2e7edb83 (diff) | |
download | gunmake-e25e2fb7f54968b89f46f517c03a41577819e567.tar.gz |
(define_makeflags): When no flags, set WORDS to zero.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |