aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2025-05-08 15:02:00 +0200
committerHimbeer <himbeer@disroot.org>2025-05-08 15:02:00 +0200
commitad48ab727e474cb3f2fc39e57caf84ee228cb699 (patch)
tree64418be28258f6f12af281d832eab27210ec349b
parent6876ed65ecb90e3422c392d2158856a24b7acb00 (diff)
Declare needed parsing function prototypes
-rw-r--r--src/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index 4bbda03..de3f910 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -4,6 +4,9 @@
#include "parse.h"
#include "util.h"
+static int parse_expr(struct lexer *lexer, struct expr *e);
+static int parse_if(struct lexer *lexer, struct ast_if *cnd);
+static int parse_stmt(struct lexer *lexer, struct ast_stmt *stmt, int nosemi);
static int