aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-13 23:31:38 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-13 23:31:38 -0700
commit4135115229d27c54b70cd945e2211e652ab58d2f (patch)
treed81a088a3ee56b7f28252c14d2ffe2ba1d0bd7ae /types.h
parent1570dd55e8f3601e72893d6954044317973d7c60 (diff)
Spruced up a bunch of stuff, tweaked the grammar, added docs
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 1 insertions, 2 deletions
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;