From f1fa8f6055953368006a0877d2938f5f2693c012 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 28 Dec 2012 11:50:03 +0100 Subject: [PATCH] So why doesn't any popular compiler complain about this --- ast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast.h b/ast.h index 93c105f..5dee444 100644 --- a/ast.h +++ b/ast.h @@ -95,7 +95,7 @@ typedef struct bool side_effects; } ast_node_common; -#define ast_delete(x) ( ( (ast_node*)(x) ) -> node.destroy )((ast_node*)(x)) +#define ast_delete(x) (*( ((ast_node*)(x))->node.destroy ))((ast_node*)(x)) #define ast_unref(x) do \ { \ if (! (((ast_node*)(x))->node.keep) ) { \ -- 2.39.2