From ce1868d707b0f0338a93057d017252c98e50e15d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 12:40:19 -0800 Subject: Added support for `bp -p 'foo: "xx"; baz; baz: foo'` --- compiler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compiler.h') diff --git a/compiler.h b/compiler.h index 3b61c17..76e7734 100644 --- a/compiler.h +++ b/compiler.h @@ -15,8 +15,10 @@ __attribute__((nonnull(1,2))) vm_op_t *bp_stringpattern(file_t *f, const char *str); __attribute__((nonnull(1,2))) vm_op_t *bp_replacement(file_t *f, vm_op_t *pat, const char *replacement); -__attribute__((nonnull(1,2))) +__attribute__((nonnull)) vm_op_t *bp_pattern(file_t *f, const char *str); +__attribute__((nonnull)) +def_t *bp_definition(file_t *f, const char *str); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 -- cgit v1.2.3