nasm: when using -MW, quote filenames containing &

When using the -MW option, double-quote filenames containing &.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2017-08-16 22:20:36 -07:00
parent 427b9cae8b
commit 3e30c32812

View File

@ -648,6 +648,7 @@ static char *quote_for_wmake(const char *str)
switch (*p) {
case ' ':
case '\t':
case '&':
quote = true;
n++;
break;