aboutsummaryrefslogtreecommitdiff
path: root/lpvm.h
diff options
context:
space:
mode:
authorSérgio Queiroz <sqmedeiros@gmail.com>2017-12-26 12:27:42 -0300
committerSérgio Queiroz <sqmedeiros@gmail.com>2017-12-26 12:27:42 -0300
commite4cc8be34e590dc22f0a25ecfa269624b1569925 (patch)
tree7d5450bc033e1475a30db15f85ff4e7ab854feb5 /lpvm.h
parentf6c68a6313e1700c25a523adde5f92ca1f7f67b6 (diff)
downloadlpeglabel-e4cc8be34e590dc22f0a25ecfa269624b1569925.tar.gz
lpeglabel-e4cc8be34e590dc22f0a25ecfa269624b1569925.tar.bz2
lpeglabel-e4cc8be34e590dc22f0a25ecfa269624b1569925.zip
Exteding the stack with a field to store the label environment
Diffstat (limited to 'lpvm.h')
-rw-r--r--lpvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lpvm.h b/lpvm.h
index 81a6678..37c8522 100644
--- a/lpvm.h
+++ b/lpvm.h
@@ -21,6 +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 IJmp, /* jump to 'offset' */ 25 IJmp, /* jump to 'offset' */
25 ICall, /* call rule at 'offset' */ 26 ICall, /* call rule at 'offset' */
26 IOpenCall, /* call rule number 'key' (must be closed to a ICall) */ 27 IOpenCall, /* call rule number 'key' (must be closed to a ICall) */