From 984a869c985f8cc334cc40bd5b387e11d9f9ba29 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 19:02:36 -0800 Subject: Renaming 'op' member fields to 'pat' --- types.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'types.h') diff --git a/types.h b/types.h index 5e99922..ab5694c 100644 --- a/types.h +++ b/types.h @@ -80,7 +80,7 @@ typedef struct match_s { // Where the match starts and ends (end is after the last character) const char *start, *end; struct match_s *child, *nextsibling; - pat_t *op; + pat_t *pat; // Intrusive linked list nodes for garbage collection: struct match_s *next; #ifdef DEBUG_HEAP @@ -101,17 +101,17 @@ typedef struct def_s { size_t namelen; const char *name; file_t *file; - pat_t *op; + pat_t *pat; struct def_s *next; } def_t; // -// Structure used for tracking allocated ops, which must be freed when the file -// is freed. +// Structure used for tracking allocated patterns, which must be freed when the +// file is freed. // typedef struct allocated_pat_s { struct allocated_pat_s *next; - pat_t op; + pat_t pat; } allocated_pat_t; #endif -- cgit v1.2.3