Merge remote-tracking branch 'igg0/strcat'

This commit is contained in:
H. Peter Anvin 2022-11-07 12:36:24 -08:00
commit c115cf4864

View File

@ -4716,15 +4716,12 @@ issue_error:
list_for_each(t, tline) {
switch (t->type) {
case TOKEN_WHITESPACE:
case TOKEN_COMMA:
break;
case TOKEN_STR:
unquote_token(t);
len += t->len;
break;
case TOKEN_OTHER:
if (tok_is(t, ',')) /* permit comma separators */
break;
/* else fall through */
default:
nasm_nonfatal("non-string passed to `%s': %s", dname,
tok_text(t));