From 813d9a76afb6dc3cd8f983c23bbd2e0d804a06df Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 18:38:06 -0800 Subject: Renaming op -> pat, phase 1 refactor --- compiler.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'compiler.h') diff --git a/compiler.h b/compiler.h index 76e7734..46411fe 100644 --- a/compiler.h +++ b/compiler.h @@ -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); -- cgit v1.2.3