summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@FreeBSD.org>1994-08-24 21:14:27 +0000
committerSean Eric Fagan <sef@FreeBSD.org>1994-08-24 21:14:27 +0000
commit7267a81cea8f4bd9263a3222dd5b91256c6c69bc (patch)
tree98d266f233bf33daece0fa6389b2b9da53b4e745 /usr.bin/make
parent2355afcfc6c74cae2d33b59218aae8280d0818d9 (diff)
Notes
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/str.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c
index 84e95eb1b403..6e656f730f0c 100644
--- a/usr.bin/make/str.c
+++ b/usr.bin/make/str.c
@@ -133,14 +133,17 @@ brk_string(str, store_argc)
switch(ch = *p) {
case '"':
case '\'':
- if (inquote)
+ if (inquote) {
if (inquote == ch)
inquote = '\0';
else
break;
- else
+ } else {
inquote = (char) ch;
- continue;
+ start = t;
+ continue;
+ }
+ /* FALLTHROUGH */
case ' ':
case '\t':
if (inquote)