aboutsummaryrefslogtreecommitdiff
path: root/lpvm.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 /lpvm.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 'lpvm.h')
-rw-r--r--lpvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpvm.h b/lpvm.h
index 37c8522..c5457c4 100644
--- a/lpvm.h
+++ b/lpvm.h
@@ -21,7 +21,7 @@ typedef enum Opcode {
21 IRet, /* return from a rule */ 21 IRet, /* return from a rule */
22 IEnd, /* end of pattern */ 22 IEnd, /* end of pattern */
23 IChoice, /* stack a choice; next fail will jump to 'offset' */ 23 IChoice, /* stack a choice; next fail will jump to 'offset' */
24 /*IPredChoice,*/ /* labeld failure: stack a choice; changes label env next fail will jump to 'offset' */ 24 IPredChoice, /* labeld failure: stack a choice; changes label env next fail will jump to 'offset' */
25 IJmp, /* jump to 'offset' */ 25 IJmp, /* jump to 'offset' */
26 ICall, /* call rule at 'offset' */ 26 ICall, /* call rule at 'offset' */
27 IOpenCall, /* call rule number 'key' (must be closed to a ICall) */ 27 IOpenCall, /* call rule number 'key' (must be closed to a ICall) */