From accf43334d4cb14649e32a2eb849d7b30b7d82eb Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 1 Jul 2008 21:42:08 -0700 Subject: [PATCH] Permit commas in %strcat --- preproc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/preproc.c b/preproc.c index 71936e4..1d89cb8 100644 --- a/preproc.c +++ b/preproc.c @@ -2883,6 +2883,10 @@ static int do_directive(Token * tline) case TOK_STRING: len += t->a.len = nasm_unquote(t->text, NULL); break; + case TOK_OTHER: + if (!strcmp(t->text, ",")) /* permit comma separators */ + break; + /* else fall through */ default: error(ERR_NONFATAL, "non-string passed to `%%strcat' (%d)", t->type); -- 2.7.4