diff options
author | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-27 14:13:25 -0300 |
---|---|---|
committer | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-27 14:13:25 -0300 |
commit | 772df00e061db3cd7d0af92c8ab65bc023d8121d (patch) | |
tree | 48e343e06a4b3ea4a4423330e1256606db4d53f3 /lptypes.h | |
parent | e4cc8be34e590dc22f0a25ecfa269624b1569925 (diff) | |
download | lpeglabel-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |