hyc

Hydrogen Compiler written in C
git clone git://git.kocotian.pl/hyc.git
Log | Files | Refs | README | LICENSE

commit ff03f28bda120c6ae8859eca28cf11d0f44084b4
parent eb52f35653b6c08bd84c110810925a6043cdf988
Author: kocotian <kocotian@kocotian.pl>
Date:   Sun,  1 Aug 2021 22:40:35 +0000

Parameters in GlobalFunction struct

Diffstat:
Minclude/ast.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/ast.h b/include/ast.h @@ -183,6 +183,10 @@ typedef struct ASTGlobalAny { typedef struct ASTGlobalFunction { enum ASTGlobalType type; struct ASTExpressionLiteral name; + struct { + struct ASTStatementVariableDeclaration *data; + size_t len; + } parameters; union ASTStatement *body; } ASTGlobalFunction;