aboutsummaryrefslogtreecommitdiff
path: root/src/parser_pos.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-12-18 21:17:07 +0000
committergingerBill <bill@gingerbill.org>2022-12-18 21:17:07 +0000
commitac5f5a33e94054396de66a37043e226349b6c91c (patch)
tree3b561345c4542112da67b9139c3ff6cf54cf7219 /src/parser_pos.cpp
parentff6b76986a0647ffc7d99c7e7df78ec8e5fb91b2 (diff)
`gb_internal` a lot
Diffstat (limited to 'src/parser_pos.cpp')
-rw-r--r--src/parser_pos.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser_pos.cpp b/src/parser_pos.cpp
index 54c3ec1f1..19a525e2e 100644
--- a/src/parser_pos.cpp
+++ b/src/parser_pos.cpp
@@ -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));
}