gb_internal a lot

This commit is contained in:
gingerBill
2022-12-18 21:17:07 +00:00
parent ff6b76986a
commit ac5f5a33e9
25 changed files with 1078 additions and 1128 deletions

View File

@@ -1,4 +1,4 @@
Token ast_token(Ast *node) {
gb_internal Token ast_token(Ast *node) {
switch (node->kind) {
case Ast_Ident: return node->Ident.token;
case Ast_Implicit: return node->Implicit;
@@ -360,6 +360,6 @@ Token ast_end_token(Ast *node) {
return empty_token;
}
TokenPos ast_end_pos(Ast *node) {
gb_internal TokenPos ast_end_pos(Ast *node) {
return token_pos_end(ast_end_token(node));
}