From 8b96f9a4f27ed859bdd975608419c86841664dc9 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 3 Aug 2023 21:10:52 +0100 Subject: rename "symbol" to "ident" everywhere --- ast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ast.h') diff --git a/ast.h b/ast.h index b1569c4..0d5c190 100644 --- a/ast.h +++ b/ast.h @@ -7,7 +7,7 @@ typedef enum { AST_LIST, AST_NUM, - AST_SYMBOL, + AST_IDENT, AST_STRING, } AstTy; @@ -36,7 +36,7 @@ void astnode_append(AstNode *l, AstNode val); AstNode astnode_new_num(int n); AstNode astnode_new_list(); -AstNode astnode_new_symbol(char *s); +AstNode astnode_new_ident(char *s); AstNode astnode_new_string(char *s); void astnode_disp(AstNode *a); -- cgit v1.2.3