diff options
author | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-26 12:27:42 -0300 |
---|---|---|
committer | Sérgio Queiroz <sqmedeiros@gmail.com> | 2017-12-26 12:27:42 -0300 |
commit | e4cc8be34e590dc22f0a25ecfa269624b1569925 (patch) | |
tree | 7d5450bc033e1475a30db15f85ff4e7ab854feb5 /lpvm.h | |
parent | f6c68a6313e1700c25a523adde5f92ca1f7f67b6 (diff) | |
download | lpeglabel-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) */ |