aboutsummaryrefslogtreecommitdiff
path: root/src/parse/binops.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-25 01:28:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-25 01:28:31 -0400
commit6004f8eabb1a41e735a0e28d9b9b93c516526fb7 (patch)
treec269b127f7f1db8bb7f68ce330da128661cc709d /src/parse/binops.c
parentfbc6b59305d8414bb1cb471ea3f85a8d926beb4f (diff)
Less public
Diffstat (limited to 'src/parse/binops.c')
-rw-r--r--src/parse/binops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parse/binops.c b/src/parse/binops.c
index cbbdd44d..e70bcd7e 100644
--- a/src/parse/binops.c
+++ b/src/parse/binops.c
@@ -36,7 +36,6 @@ int op_tightness[] = {
[Xor] = 1,
};
-public
ast_e match_binary_operator(const char **pos) {
switch (**pos) {
case '+': {
@@ -85,7 +84,6 @@ ast_e match_binary_operator(const char **pos) {
}
}
-public
ast_t *parse_infix_expr(parse_ctx_t *ctx, const char *pos, int min_tightness) {
ast_t *lhs = optional(ctx, &pos, parse_term);
if (!lhs) return NULL;