aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index 8bf7007..b9681df 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -3395,7 +3395,7 @@ ST_FUNC void parse_asm_str(CString *astr)
cstr_new(astr);
while (tok == TOK_STR) {
/* XXX: add \0 handling too ? */
- cstr_cat(astr, tokc.str.data);
+ cstr_cat(astr, tokc.str.data, -1);
next();
}
cstr_ccat(astr, '\0');