diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-08-06 13:55:27 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-08-07 11:29:33 +0200 |
commit | f68c0b4a340b6dde602e4776b323ab48c516593a (patch) | |
tree | 22ab7c3fc0d73908c38b619b6de17e02e632b416 /ext/B | |
parent | ecbafe5df9da96bed2cdc5310cbc73d973d7c424 (diff) | |
download | perl-f68c0b4a340b6dde602e4776b323ab48c516593a.tar.gz |
Re-indent a switch statement in B::OP::next
This is the whitespace-only part of the next commit separated out.
Diffstat (limited to 'ext/B')
-rw-r--r-- | ext/B/B.xs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs index 5b45e5090a..5404ae108d 100644 --- a/ext/B/B.xs +++ b/ext/B/B.xs @@ -1213,34 +1213,34 @@ next(o) /* do a direct structure offset lookup */ ptr = (char *)o + offset; - switch (op_methods[ix].type) { - case OPp: - ret = make_op_object(aTHX_ *((OP **)ptr)); - break; - case PADOFFSETp: - ret = sv_2mortal(newSVuv(*((PADOFFSET*)ptr))); - break; - case U8p: - ret = sv_2mortal(newSVuv(*((U8*)ptr))); - break; - case U32p: - ret = sv_2mortal(newSVuv(*((U32*)ptr))); - break; - case SVp: - ret = make_sv_object(aTHX_ *((SV **)ptr)); - break; - case line_tp: - ret = sv_2mortal(newSVuv(*((line_t *)ptr))); - break; - case IVp: - ret = sv_2mortal(newSViv(*((IV*)ptr))); - break; - case char_pp: - ret = sv_2mortal(newSVpv(*((char **)ptr), 0)); - break; - default: - croak("Illegal type 0x%08x for B::*OP::%s", - (unsigned)op_methods[ix].type, op_methods[ix].name); + switch (op_methods[ix].type) { + case OPp: + ret = make_op_object(aTHX_ *((OP **)ptr)); + break; + case PADOFFSETp: + ret = sv_2mortal(newSVuv(*((PADOFFSET*)ptr))); + break; + case U8p: + ret = sv_2mortal(newSVuv(*((U8*)ptr))); + break; + case U32p: + ret = sv_2mortal(newSVuv(*((U32*)ptr))); + break; + case SVp: + ret = make_sv_object(aTHX_ *((SV **)ptr)); + break; + case line_tp: + ret = sv_2mortal(newSVuv(*((line_t *)ptr))); + break; + case IVp: + ret = sv_2mortal(newSViv(*((IV*)ptr))); + break; + case char_pp: + ret = sv_2mortal(newSVpv(*((char **)ptr), 0)); + break; + default: + croak("Illegal type 0x%08x for B::*OP::%s", + (unsigned)op_methods[ix].type, op_methods[ix].name); } ST(0) = ret; |