added specific lists

solved bug in Funcall
This commit is contained in:
Felix Müller 2024-05-14 15:30:13 +02:00
parent 8c063d7016
commit a14faeeee7
2 changed files with 10 additions and 0 deletions

View File

@ -75,6 +75,11 @@ void AST_init() {
lookup_table[AST_Transmute] = "as";
lookup_table[AST_Condition] = "condition";
lookup_table[AST_List] = "list";
lookup_table[AST_ExprList] = "expr list";
lookup_table[AST_ArgList] = "arg list";
lookup_table[AST_ParamList] = "param list";
lookup_table[AST_StmtList] = "stmt list";
lookup_table[AST_IdentList] = "ident list";
lookup_table[AST_Type] = "type";
lookup_table[AST_Negate] = "-";
lookup_table[AST_Parameter] = "parameter";

View File

@ -61,6 +61,11 @@ enum AST_SyntaxElement_t {
// amount of variants
// in this enums
AST_List,
AST_ExprList,
AST_ArgList,
AST_ParamList,
AST_StmtList,
AST_IdentList,
AST_Storage,
AST_Type,
AST_Typekind,