summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-08-03 21:10:52 +0100
committerubq323 <ubq323@ubq323.website>2023-08-04 00:06:49 +0100
commit8b96f9a4f27ed859bdd975608419c86841664dc9 (patch)
treea25857d80ebb559bd0f7c3c2943b61e619c9f4f4 /ast.h
parent7dcbac1a3ce1c6fd87d79a0b76cdb20c8f090184 (diff)
rename "symbol" to "ident" everywhere
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h4
1 files changed, 2 insertions, 2 deletions
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);