summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorJohnny Richard <johnny@johnnyrichard.com>2023-04-30 02:00:39 +0200
committerJohnny Richard <johnny@johnnyrichard.com>2023-04-30 02:00:39 +0200
commita7b2cec4719ed5b42889aafac20a25f1820ab78b (patch)
tree338929acd69cae70da390cbc8ecb6512b560cc78 /src/ast.h
parentde3f8f73810d77f7231ceddfd63b0720493bd437 (diff)
ast: Rename variable and variable_declaration correctly
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.h b/src/ast.h
index 4fd1d1d..2bd700e 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -105,9 +105,9 @@ typedef union
ast_function_declaration_t function;
ast_literal_t literal;
ast_return_stmt_t return_stmt;
- ast_variable_declaration_t variable; // FIXME: Rename to variable_declaration
+ ast_variable_declaration_t variable_declaration;
ast_identifier_t identifier;
- ast_variable_t variable_ex; // FIXME: Rename to variable
+ ast_variable_t variable;
} ast_node_data_t;
typedef struct ast_node_t