aboutsummaryrefslogtreecommitdiff
path: root/lpprint.c
diff options
context:
space:
mode:
authorSergio Queiroz <sqmedeiros@gmail.com>2016-11-10 16:26:11 -0300
committerSergio Queiroz <sqmedeiros@gmail.com>2016-11-10 16:26:11 -0300
commitfd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea (patch)
tree875ab38000e52376583bc13741b18701c6294f80 /lpprint.c
parentd84dd6b3659f94b09e67eb90a10e71eb05c5630e (diff)
downloadlpeglabel-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lpprint.c b/lpprint.c
index 122d2e5..ff69a6a 100644
--- a/lpprint.c
+++ b/lpprint.c
@@ -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 }