mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 10:51:10 +00:00
ast_istype should add the TYPE_ prefix
This commit is contained in:
parent
b968927074
commit
5240aa8379
1 changed files with 1 additions and 1 deletions
2
ast.h
2
ast.h
|
@ -63,7 +63,7 @@ enum {
|
|||
TYPE_ast_member
|
||||
};
|
||||
|
||||
#define ast_istype(x, t) ( ((ast_node_common*)x)->nodetype == (t) )
|
||||
#define ast_istype(x, t) ( ((ast_node_common*)x)->nodetype == (TYPE_##t) )
|
||||
|
||||
/* Node interface with common components
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue