mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
So why doesn't any popular compiler complain about this
This commit is contained in:
parent
126b0fe324
commit
f1fa8f6055
1 changed files with 1 additions and 1 deletions
2
ast.h
2
ast.h
|
@ -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) ) { \
|
||||||
|
|
Loading…
Reference in a new issue