summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-06 13:22:02 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-06 22:18:54 -0800
commit03988ac3400385e50e8a35a9eeec604b490a85a6 (patch)
tree157984b234f6e8be27a1d6cc8d50d7d205d3f853 /dump.c
parenta59aac591997973552d88b6602b36a979402061a (diff)
downloadperl-03988ac3400385e50e8a35a9eeec604b490a85a6.tar.gz
dump.c: Dump seq field of nextstate ops
This is very useful for debugging.
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index 6da85ee675..59be1e5b9d 100644
--- a/dump.c
+++ b/dump.c
@@ -1009,6 +1009,8 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
generic_pv_escape( tmpsv, label, label_len,
(label_flags & SVf_UTF8)));
}
+ Perl_dump_indent(aTHX_ level, file, "SEQ = %d\n",
+ cCOPo->cop_seq);
break;
case OP_ENTERLOOP:
Perl_dump_indent(aTHX_ level, file, "REDO ===> ");