diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-16 19:35:43 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-16 19:41:28 -0700 |
| commit | 6c237850e90dce317ede7b0d4e53125df15ab62b (patch) | |
| tree | c783ab61954de0b3120727245327843a82233542 /compiler.h | |
| parent | 3483cd75cb0a67d50bdcf9d03a15dc5af67a1986 (diff) | |
WIP
Diffstat (limited to 'compiler.h')
| -rw-r--r-- | compiler.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
