aboutsummaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-16 19:35:43 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-16 19:41:28 -0700
commit6c237850e90dce317ede7b0d4e53125df15ab62b (patch)
treec783ab61954de0b3120727245327843a82233542 /compiler.h
parent3483cd75cb0a67d50bdcf9d03a15dc5af67a1986 (diff)
WIP
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler.h b/compiler.h
index 855b05d..005eacc 100644
--- a/compiler.h
+++ b/compiler.h
@@ -7,11 +7,12 @@
#include <stdlib.h>
#include "types.h"
+#include "file_loader.h"
-vm_op_t *bpeg_simplepattern(const char *str);
-vm_op_t *bpeg_stringpattern(const char *str);
+vm_op_t *bpeg_simplepattern(file_t *f, const char *str);
+vm_op_t *bpeg_stringpattern(file_t *f, const char *str);
vm_op_t *bpeg_replacement(vm_op_t *pat, const char *replacement);
-vm_op_t *bpeg_pattern(const char *str);
+vm_op_t *bpeg_pattern(file_t *f, const char *str);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1