diff options
author | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-15 13:50:35 -0300 |
---|---|---|
committer | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-15 13:50:35 -0300 |
commit | bc071e9fe431347832fd424eb327357f38e60bfd (patch) | |
tree | 9a34ad8d53074b002322484504e756b542b3bdf7 /lpvm.h | |
parent | 26c1b9aa78e10b2ed2d36d151033fe94254fa8c5 (diff) | |
download | lpeglabel-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |