]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Holy mexicans 15% better hashing == 5% faster compiles.
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 5ac62832e7871df05c23c829941636d5e49d75de..f814847714d5d158ed8ebd15a5bd87a3d1cfd1dc 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -1025,7 +1025,7 @@ bool ast_call_check_types(ast_call *self, ast_expression *va_type)
 
     for (i = 0; i < count; ++i) {
         if (ast_istype(self->params[i], ast_argpipe)) {
-            // warn about type safety instead
+            /* warn about type safety instead */
             if (i+1 != count) {
                 compile_error(ast_ctx(self), "argpipe must be the last parameter to a function call");
                 return false;
@@ -1047,7 +1047,7 @@ bool ast_call_check_types(ast_call *self, ast_expression *va_type)
     if (count > vec_size(func->params) && func->varparam) {
         for (; i < count; ++i) {
             if (ast_istype(self->params[i], ast_argpipe)) {
-                // warn about type safety instead
+                /* warn about type safety instead */
                 if (i+1 != count) {
                     compile_error(ast_ctx(self), "argpipe must be the last parameter to a function call");
                     return false;