From: Dale Weiler Date: Sat, 28 Apr 2012 10:35:42 +0000 (-0400) Subject: Cut at comma X-Git-Tag: 0.1-rc1~566 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=b4caecf088b4bcd43104b5f85c1b7dcef41ce807 Cut at comma --- diff --git a/asm.c b/asm.c index 573da33..0b48ca9 100644 --- a/asm.c +++ b/asm.c @@ -161,6 +161,8 @@ static inline bool asm_parse_func(const char *skip, size_t line, asm_state *stat mem_d(name); return false; } + *strchr(name, ',')='\0'; + /* * Now add the following items to the code system: * function