aboutsummaryrefslogtreecommitdiff
path: root/lptree.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 /lptree.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 'lptree.h')
-rw-r--r--lptree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lptree.h b/lptree.h
index d89da4d..bb53c84 100644
--- a/lptree.h
+++ b/lptree.h
@@ -36,6 +36,7 @@ typedef enum TTag {
36 TRunTime, /* run-time capture: 'key' is Lua function; 36 TRunTime, /* run-time capture: 'key' is Lua function;
37 'sib1' is capture body */ 37 'sib1' is capture body */
38 TThrow, /* labeled failure: 'label' = l */ 38 TThrow, /* labeled failure: 'label' = l */
39 TThrowRec, /* labeled failure: 'label' = l */
39 TRecov, /* labed failure: 'sib1' //{labels} 'sib2' */ 40 TRecov, /* labed failure: 'sib1' //{labels} 'sib2' */
40 /* the set of labels is stored in next CHARSETSIZE bytes */ 41 /* the set of labels is stored in next CHARSETSIZE bytes */
41 TLabChoice /* labed failure: 'sib1' /{labels} 'sib2' */ 42 TLabChoice /* labed failure: 'sib1' /{labels} 'sib2' */