Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A pointer when viewed as signed integer may look negative.
  • Loading branch information
Reini Urban committed Jul 24, 2015
1 parent c3c4f0b commit 922676d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# regenerated with different key order
build/IFiles.pm
/B-Utils1-*
/README.md
/META.json
/META.yml
/MYMETA.json
Expand Down
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Revision history for Perl extension B::Utils1.

1.01 (rurban)

- Merge jbenjore/B-Utils/pull/9 by Andres Schwab
A pointer when viewed as signed integer may look negative.
- add README.md to repo

1.0 (rurban)
- Fork of B::Utils 0.27, which does not work with newer perls and is unmaintained.
- Provide a backwards compatible B::OP::parent, patching the core B module.
Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changes
LICENSE
MANIFEST
Makefile.PL
README.md
Utils1.xs
build/IFiles.pm
lib/B/Utils1.pm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ B::Utils1 - Helper functions for op tree manipulation

# VERSION

1.0
1.01

# SYNOPSIS

Expand Down
6 changes: 3 additions & 3 deletions lib/B/Utils1.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ B::Utils1 - Helper functions for op tree manipulation

=head1 VERSION
1.0
1.01
=cut

our $VERSION = '1.0';
our $VERSION = '1.01';

use base 'DynaLoader';
bootstrap B::Utils1 $VERSION;
Expand Down Expand Up @@ -208,7 +208,7 @@ sub B::OP::_parent_impl {
return (
$op->sibling->_parent_impl( $target, "$cx$$op S " )
|| (
$cx =~ /^(?:\d+ S )*(?:\d+ N )*$/
$cx =~ /^(?:-?\d+ S )*(?:-?\d+ N )*$/
? $op->next->_parent_impl( $target, "$cx$$op N " )
: ()
)
Expand Down
2 changes: 1 addition & 1 deletion lib/B/Utils1/OP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use B::Utils1 ();

our @ISA = 'Exporter';
require Exporter;
our $VERSION = '1.0';
our $VERSION = '1.01';
our @EXPORT = qw(parent_op return_op);

=head1 NAME
Expand Down

0 comments on commit 922676d

Please sign in to comment.