diff options
Diffstat (limited to 'src/parse/binops.h')
| -rw-r--r-- | src/parse/binops.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parse/binops.h b/src/parse/binops.h new file mode 100644 index 00000000..95785619 --- /dev/null +++ b/src/parse/binops.h @@ -0,0 +1,8 @@ +// Logic for parsing numbers +#pragma once + +#include "../ast.h" +#include "context.h" + +ast_e match_binary_operator(const char **pos); +ast_t *parse_infix_expr(parse_ctx_t *ctx, const char *pos, int min_tightness); |
