aboutsummaryrefslogtreecommitdiff
path: root/src/parse/binops.c
diff options
context:
space:
mode:
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;