aboutsummaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-15 12:40:19 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-15 12:40:19 -0800
commitce1868d707b0f0338a93057d017252c98e50e15d (patch)
tree8ded2ca165610361d9ea21f7402db4a9fa6dd39c /compiler.h
parent26fed0ec2848b023131df8c4fb967c360e0382a4 (diff)
Added support for `bp -p 'foo: "xx"; baz; baz: foo'`
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h4
1 files changed, 3 insertions, 1 deletions
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