aboutsummaryrefslogtreecommitdiff
path: root/lptypes.h
diff options
context:
space:
mode:
authorSérgio Queiroz <sqmedeiros@gmail.com>2017-12-27 14:13:25 -0300
committerSérgio Queiroz <sqmedeiros@gmail.com>2017-12-27 14:13:25 -0300
commit772df00e061db3cd7d0af92c8ab65bc023d8121d (patch)
tree48e343e06a4b3ea4a4423330e1256606db4d53f3 /lptypes.h
parente4cc8be34e590dc22f0a25ecfa269624b1569925 (diff)
downloadlpeglabel-772df00e061db3cd7d0af92c8ab65bc023d8121d.tar.gz
lpeglabel-772df00e061db3cd7d0af92c8ab65bc023d8121d.tar.bz2
lpeglabel-772df00e061db3cd7d0af92c8ab65bc023d8121d.zip
Implementing the new semantics of predicates when a label is thrown
Diffstat (limited to 'lptypes.h')
-rw-r--r--lptypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lptypes.h b/lptypes.h
index 25e84a2..d523e27 100644
--- a/lptypes.h
+++ b/lptypes.h
@@ -150,6 +150,11 @@ typedef struct Charset {
150/* update the farthest failure */ 150/* update the farthest failure */
151#define updatefarthest(s1,s2) { if ((s2) > (s1)) s1 = s2; } 151#define updatefarthest(s1,s2) { if ((s2) > (s1)) s1 = s2; }
152 152
153/* indicate whether the machine is matching a predicate or not */
154#define OUTPRED 0
155#define NOTPRED 1
156#define ANDPRED 2
157
153/* labeled failure end */ 158/* labeled failure end */
154 159
155#endif 160#endif