]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Cut at comma
authorDale Weiler <killfieldengine@gmail.com>
Sat, 28 Apr 2012 10:35:42 +0000 (06:35 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Sat, 28 Apr 2012 10:35:42 +0000 (06:35 -0400)
asm.c

diff --git a/asm.c b/asm.c
index 573da3309c14d336dbde13e8b9a8d6e88e22e053..0b48ca92a144e230e7dc8f1f7ef1c51e1dbbd017 100644 (file)
--- 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