diff options
author | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-11-10 16:26:11 -0300 |
---|---|---|
committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-11-10 16:26:11 -0300 |
commit | fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea (patch) | |
tree | 875ab38000e52376583bc13741b18701c6294f80 /lpprint.c | |
parent | d84dd6b3659f94b09e67eb90a10e71eb05c5630e (diff) | |
download | lpeglabel-fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea.tar.gz lpeglabel-fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea.tar.bz2 lpeglabel-fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea.zip |
Removing labeled choice, updating testlabel, and disabling an optmization related to Throw
Diffstat (limited to 'lpprint.c')
-rw-r--r-- | lpprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -112,7 +112,7 @@ void printinst (const Instruction *op, const Instruction *p) { | |||
112 | printf("%d", p->i.aux); | 112 | printf("%d", p->i.aux); |
113 | break; | 113 | break; |
114 | } | 114 | } |
115 | case ILabChoice: case IRecov: { /* labeled failure */ | 115 | case IRecov: { /* labeled failure */ |
116 | printjmp(op, p); | 116 | printjmp(op, p); |
117 | printcharset((p+2)->buff); | 117 | printcharset((p+2)->buff); |
118 | break; | 118 | break; |
@@ -223,7 +223,7 @@ void printtree (TTree *tree, int ident) { | |||
223 | default: { | 223 | default: { |
224 | int sibs = numsiblings[tree->tag]; | 224 | int sibs = numsiblings[tree->tag]; |
225 | printf("\n"); | 225 | printf("\n"); |
226 | if (tree->tag == TLabChoice || tree->tag == TRecov) { /* labeled failure */ | 226 | if (tree->tag == TRecov) { /* labeled failure */ |
227 | printcharset(treelabelset(tree)); | 227 | printcharset(treelabelset(tree)); |
228 | printf("\n"); | 228 | printf("\n"); |
229 | } | 229 | } |