diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 18:38:06 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 18:38:06 -0800 |
| commit | 813d9a76afb6dc3cd8f983c23bbd2e0d804a06df (patch) | |
| tree | b7440800c4416e4e7386fe5e3fcfeccd464e42af /compiler.h | |
| parent | 631e59bfa7e2f2c0050ad1a84ff70feb8768626d (diff) | |
Renaming op -> pat, phase 1 refactor
Diffstat (limited to 'compiler.h')
| -rw-r--r-- | compiler.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8,15 +8,15 @@ #include "types.h" __attribute__((nonnull)) -vm_op_t *new_op(file_t *f, const char *start, enum VMOpcode type); +pat_t *new_pat(file_t *f, const char *start, enum VMOpcode type); __attribute__((nonnull(1,2))) -vm_op_t *bp_simplepattern(file_t *f, const char *str); +pat_t *bp_simplepattern(file_t *f, const char *str); __attribute__((nonnull(1,2))) -vm_op_t *bp_stringpattern(file_t *f, const char *str); +pat_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); +pat_t *bp_replacement(file_t *f, pat_t *pat, const char *replacement); __attribute__((nonnull)) -vm_op_t *bp_pattern(file_t *f, const char *str); +pat_t *bp_pattern(file_t *f, const char *str); __attribute__((nonnull)) def_t *bp_definition(file_t *f, const char *str); |
