aboutsummaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 91c29ae..7cfeda9 100644
--- a/vm.c
+++ b/vm.c
@@ -522,6 +522,9 @@ match_t *get_capture(match_t *m, const char **r)
return NULL;
}
+//
+// Wrapper function for _match() to kickstart the recursion info.
+//
match_t *match(def_t *defs, file_t *f, const char *str, vm_op_t *op, unsigned int flags)
{
return _match(defs, f, str, op, flags, NULL);