Skip to content

Commit c115cf4

Browse files
author
H. Peter Anvin
committed
Merge remote-tracking branch 'igg0/strcat'
2 parents 665a982 + 349f19d commit c115cf4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

asm/preproc.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4716,15 +4716,12 @@ static int do_directive(Token *tline, Token **output)
47164716
list_for_each(t, tline) {
47174717
switch (t->type) {
47184718
case TOKEN_WHITESPACE:
4719+
case TOKEN_COMMA:
47194720
break;
47204721
case TOKEN_STR:
47214722
unquote_token(t);
47224723
len += t->len;
47234724
break;
4724-
case TOKEN_OTHER:
4725-
if (tok_is(t, ',')) /* permit comma separators */
4726-
break;
4727-
/* else fall through */
47284725
default:
47294726
nasm_nonfatal("non-string passed to `%s': %s", dname,
47304727
tok_text(t));

0 commit comments

Comments
 (0)