diff options
author | sergio <sqmedeiros@gmail.com> | 2016-12-09 09:02:02 -0300 |
---|---|---|
committer | sergio <sqmedeiros@gmail.com> | 2016-12-09 09:02:02 -0300 |
commit | 8e3c0330defb4b5da81f88c9b45bc5fc9361eb34 (patch) | |
tree | 39916c7f6eb06bc0ffd34fd9acd0c4941974184e | |
parent | d946a371072cf728f90a4f3d8007288e1dc875c9 (diff) | |
download | lpeglabel-8e3c0330defb4b5da81f88c9b45bc5fc9361eb34.tar.gz lpeglabel-8e3c0330defb4b5da81f88c9b45bc5fc9361eb34.tar.bz2 lpeglabel-8e3c0330defb4b5da81f88c9b45bc5fc9361eb34.zip |
Minor bug when printing a recovery pattern
-rw-r--r-- | lpprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ void printinst (const Instruction *op, const Instruction *p) { | |||
61 | "choice", "jmp", "call", "open_call", | 61 | "choice", "jmp", "call", "open_call", |
62 | "commit", "partial_commit", "back_commit", "failtwice", "fail", "giveup", | 62 | "commit", "partial_commit", "back_commit", "failtwice", "fail", "giveup", |
63 | "fullcapture", "opencapture", "closecapture", "closeruntime", | 63 | "fullcapture", "opencapture", "closecapture", "closeruntime", |
64 | "throw", "labeled_choice", "recovery" /* labeled failure */ | 64 | "throw", "recovery" /* labeled failure */ |
65 | }; | 65 | }; |
66 | printf("%02ld: %s ", (long)(p - op), names[p->i.code]); | 66 | printf("%02ld: %s ", (long)(p - op), names[p->i.code]); |
67 | switch ((Opcode)p->i.code) { | 67 | switch ((Opcode)p->i.code) { |