So why doesn't any popular compiler complain about this

This commit is contained in:
Wolfgang Bumiller 2012-12-28 11:50:03 +01:00
parent 126b0fe324
commit f1fa8f6055

2
ast.h
View file

@ -95,7 +95,7 @@ typedef struct
bool side_effects; bool side_effects;
} ast_node_common; } 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 \ #define ast_unref(x) do \
{ \ { \
if (! (((ast_node*)(x))->node.keep) ) { \ if (! (((ast_node*)(x))->node.keep) ) { \