aboutsummaryrefslogtreecommitdiff
path: root/vm.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 /vm.h
parent3483cd75cb0a67d50bdcf9d03a15dc5af67a1986 (diff)
WIP
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.h b/vm.h
index ac0269f..feb8eeb 100644
--- a/vm.h
+++ b/vm.h
@@ -12,7 +12,7 @@
#include "types.h"
const char *opcode_name(enum VMOpcode o);
-match_t *match(grammar_t *g, const char *str, vm_op_t *op, unsigned int flags);
+match_t *match(grammar_t *g, file_t *f, const char *str, vm_op_t *op, unsigned int flags);
void destroy_match(match_t **m);
void print_pattern(vm_op_t *op);
void print_match(match_t *m, const char *color, int verbose);