aboutsummaryrefslogtreecommitdiff
path: root/lpvm.h
diff options
context:
space:
mode:
authorSérgio Queiroz <sqmedeiros@gmail.com>2017-12-15 13:50:35 -0300
committerSérgio Queiroz <sqmedeiros@gmail.com>2017-12-15 13:50:35 -0300
commitbc071e9fe431347832fd424eb327357f38e60bfd (patch)
tree9a34ad8d53074b002322484504e756b542b3bdf7 /lpvm.h
parent26c1b9aa78e10b2ed2d36d151033fe94254fa8c5 (diff)
downloadlpeglabel-bc071e9fe431347832fd424eb327357f38e60bfd.tar.gz
lpeglabel-bc071e9fe431347832fd424eb327357f38e60bfd.tar.bz2
lpeglabel-bc071e9fe431347832fd424eb327357f38e60bfd.zip
Updating the recovery mechanism when a label is thrown
Diffstat (limited to 'lpvm.h')
-rw-r--r--lpvm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lpvm.h b/lpvm.h
index 713626e..c22e8d7 100644
--- a/lpvm.h
+++ b/lpvm.h
@@ -34,7 +34,8 @@ typedef enum Opcode {
34 IOpenCapture, /* start a capture */ 34 IOpenCapture, /* start a capture */
35 ICloseCapture, 35 ICloseCapture,
36 ICloseRunTime, 36 ICloseRunTime,
37 IThrow, /* "fails" with a specific label labeled failure */ 37 IThrow, /* "fails" with a specific label labeled failure */
38 IThrowRec, /* "fails" with a specific label labeled failure */
38 IRecov, /* stack a recovery; next fail with label 'f' will jump to 'offset' */ 39 IRecov, /* stack a recovery; next fail with label 'f' will jump to 'offset' */
39 ILabChoice /* stack a choice; next fail with label 'f' will jump to 'offset' */ 40 ILabChoice /* stack a choice; next fail with label 'f' will jump to 'offset' */
40} Opcode; 41} Opcode;