]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Some cleanups and smaller binaries!
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index bb15b3570ec68f8b2d2b797e3c796890941af9c1..5f07e8312722d9fb9d316e19918cedd29661a2b4 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -520,7 +520,7 @@ ast_unary* ast_unary_new(lex_ctx ctx, int op,
     if (op >= INSTR_NOT_F && op <= INSTR_NOT_FNC) {
         self->expression.vtype = TYPE_FLOAT;
     } else
-        compile_error(ctx, "cannot determine type of unary operation %s", asm_instr[op].m);
+        compile_error(ctx, "cannot determine type of unary operation %s", util_instr_str[op]);
 
     return self;
 }