X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ast.h;h=e721afc1b7a7501f088099b0a1df9a7b4e2970d6;hp=f348e4b0309bac100b0b15d92444390324f3c802;hb=44b0d7f658f16482f21f5ee84ab0a7f0f5dc3e59;hpb=1826971301dae48a9920ea4e331205371c48cc6b diff --git a/ast.h b/ast.h index f348e4b..e721afc 100644 --- a/ast.h +++ b/ast.h @@ -141,10 +141,9 @@ typedef bool ast_expression_codegen(ast_expression*, * type `expression`, so the ast_ident's codegen would search for * variables through the environment (or functions, constants...). */ -struct ast_expression { +struct ast_expression : ast_node { ast_expression() {} - ast_node node; ast_expression_codegen *codegen; int vtype; ast_expression *next;