diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-10 23:46:46 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-10 23:46:46 -0700 |
| commit | 17dbe5d9e8fcbe2c5f2f494658868b28857a25ca (patch) | |
| tree | b5fafea0caac649ab93c273e1d81f476a13624fc /pattern.h | |
| parent | 943aa0b71a8c2a03fe4b57317d4c7bc7df7d014c (diff) | |
Added {word} feature and cleaned up the code some.
Diffstat (limited to 'pattern.h')
| -rw-r--r-- | pattern.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ #include "files.h" #include "types.h" -__attribute__((returns_nonnull, nonnull)) -pat_t *new_pat(file_t *f, const char *start, enum pattype_e type); +__attribute__((returns_nonnull, nonnull(1,2))) +pat_t *new_pat(file_t *f, const char *start, const char *end, enum pattype_e type); __attribute__((nonnull(1,2))) pat_t *bp_stringpattern(file_t *f, const char *str); __attribute__((nonnull(1,2))) |
