summaryrefslogtreecommitdiff
path: root/src/nodes/decl/result_decl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodes/decl/result_decl.h')
-rw-r--r--src/nodes/decl/result_decl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nodes/decl/result_decl.h b/src/nodes/decl/result_decl.h
index e3e0944..e5392fa 100644
--- a/src/nodes/decl/result_decl.h
+++ b/src/nodes/decl/result_decl.h
@@ -22,6 +22,8 @@
#include "nodes/base/decl.h"
+#include "nodes/cst/integer_cst.h"
+
#include <string>
struct TypeNode;
@@ -30,11 +32,15 @@ struct ResultDeclNode : public DeclNode
{
ResultDeclNode() :
DeclNode(),
- resultType(nullptr)
+ resultType(nullptr),
+ initial(nullptr),
+ declSize(nullptr)
{
}
TypeNode *resultType;
+ Node *initial;
+ IntegerCstNode *declSize;
};
#endif // NODES_RESULTDECLNODE_H