Skip to content

Commit

Permalink
Minor bug when printing a recovery pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmedeiros committed Dec 9, 2016
1 parent d946a37 commit 8e3c033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lpprint.c
Expand Up @@ -61,7 +61,7 @@ void printinst (const Instruction *op, const Instruction *p) {
"choice", "jmp", "call", "open_call",
"commit", "partial_commit", "back_commit", "failtwice", "fail", "giveup",
"fullcapture", "opencapture", "closecapture", "closeruntime",
"throw", "labeled_choice", "recovery" /* labeled failure */
"throw", "recovery" /* labeled failure */
};
printf("%02ld: %s ", (long)(p - op), names[p->i.code]);
switch ((Opcode)p->i.code) {
Expand Down

0 comments on commit 8e3c033

Please sign in to comment.