From 5811ff4554da3d980ff32a83efa35ea1a4512484 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 21:28:44 -0800 Subject: Adding comments --- compiler.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler.c') diff --git a/compiler.c b/compiler.c index 74044a8..1c8974c 100644 --- a/compiler.c +++ b/compiler.c @@ -581,6 +581,9 @@ vm_op_t *bp_replacement(file_t *f, vm_op_t *pat, const char *replacement) return op; } +// +// Compile a string representing a BP pattern into an opcode object. +// vm_op_t *bp_pattern(file_t *f, const char *str) { vm_op_t *op = bp_simplepattern(f, str); -- cgit v1.2.3