diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 12:40:19 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 12:40:19 -0800 |
| commit | ce1868d707b0f0338a93057d017252c98e50e15d (patch) | |
| tree | 8ded2ca165610361d9ea21f7402db4a9fa6dd39c /compiler.h | |
| parent | 26fed0ec2848b023131df8c4fb967c360e0382a4 (diff) | |
Added support for `bp -p 'foo: "xx"; baz; baz: foo'`
Diffstat (limited to 'compiler.h')
| -rw-r--r-- | compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
