diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-12-27 19:48:52 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-12-27 19:48:52 -0800 |
| commit | 7d4bc36949cec8e5c791c352a264cd1dea4f8a1e (patch) | |
| tree | f2a873d8628beae17af524c2334c75b97a50beb0 /vm.h | |
| parent | 177bc55cfc405a7df0f666aa2dce29e428b9592c (diff) | |
Added in-place filtering/replacements
Diffstat (limited to 'vm.h')
| -rw-r--r-- | vm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,8 @@ #ifndef VM__H #define VM__H +#include <stdio.h> + #include "types.h" typedef enum { @@ -17,7 +19,7 @@ match_t *match(grammar_t *g, file_t *f, const char *str, vm_op_t *op, unsigned i __attribute__((nonnull)) void destroy_match(match_t **m); __attribute__((nonnull)) -void print_match(file_t *f, match_t *m, print_options_t options); +void print_match(FILE *out, file_t *f, match_t *m, print_options_t options); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 |
