From 4135115229d27c54b70cd945e2211e652ab58d2f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 13 Sep 2020 23:31:38 -0700 Subject: Spruced up a bunch of stuff, tweaked the grammar, added docs --- types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'types.h') diff --git a/types.h b/types.h index 6346342..c8f7a17 100644 --- a/types.h +++ b/types.h @@ -12,7 +12,6 @@ enum VMOpcode { VM_EMPTY = 0, VM_ANYCHAR = 1, - VM_ANYTHING_BUT, VM_STRING, VM_RANGE, VM_NOT, @@ -34,7 +33,7 @@ enum VMOpcode { */ typedef struct vm_op_s { enum VMOpcode op; - unsigned int multiline:1; + unsigned int multiline:1, negate:1; const char *start, *end; // Length of the match, if constant, otherwise -1 ssize_t len; -- cgit v1.2.3