aboutsummaryrefslogtreecommitdiff
path: root/lptypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lptypes.h')
-rw-r--r--lptypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lptypes.h b/lptypes.h
index 98b9597..81aa61e 100644
--- a/lptypes.h
+++ b/lptypes.h
@@ -111,8 +111,8 @@ typedef struct Charset {
111** in capture instructions, 'kind' of capture and its offset are 111** in capture instructions, 'kind' of capture and its offset are
112** packed in field 'aux', 4 bits for each 112** packed in field 'aux', 4 bits for each
113*/ 113*/
114#define getkind(op) ((op)->i.aux & 0xF) 114#define getkind(op) ((op)->i.aux1 & 0xF)
115#define getoff(op) (((op)->i.aux >> 4) & 0xF) 115#define getoff(op) (((op)->i.aux1 >> 4) & 0xF)
116#define joinkindoff(k,o) ((k) | ((o) << 4)) 116#define joinkindoff(k,o) ((k) | ((o) << 4))
117 117
118#define MAXOFF 0xF 118#define MAXOFF 0xF