Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/PPI/Singletons.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ our %OPERATOR = map { $_ => 1 } (
< > <= >= lt gt le ge
== != <=> eq ne cmp ~~
& | ^ && || // .. ...
&. |. ^. ~.
? :
= **= += -= .= *= /= %= x= &= |= ^= <<= >>= &&= ||= //=
&.= |.= ^.= ~.=
=> <> <<>>
and or xor not
}, ',' # Avoids "comma in qw{}" warning
Expand Down
2 changes: 1 addition & 1 deletion t/08_regression.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use if !(-e 'META.yml'), "Test::InDistDir";
use lib 't/lib';
use PPI::Test::pragmas;
use Test::More tests => 1085 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
use Test::More tests => 1121 + ($ENV{AUTHOR_TESTING} ? 1 : 0);

use PPI ();
use PPI::Test qw( pause );
Expand Down
2 changes: 1 addition & 1 deletion t/25_increment.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use lib 't/lib';
use PPI::Test::pragmas;
use Test::More tests => 9554 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
use Test::More tests => 9614 + ($ENV{AUTHOR_TESTING} ? 1 : 0);

use PPI::Test::Run ();

Expand Down
1 change: 1 addition & 0 deletions t/data/08_regression/51_bitwise_dotted_ops.code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$x|.$y
6 changes: 6 additions & 0 deletions t/data/08_regression/51_bitwise_dotted_ops.dump
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PPI::Document
PPI::Statement
PPI::Token::Symbol '$x'
PPI::Token::Operator '|.'
PPI::Token::Symbol '$y'
PPI::Token::Whitespace '\n'
1 change: 1 addition & 0 deletions t/data/08_regression/51b_bitwise_dotted_ops.code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$x|.=$y
6 changes: 6 additions & 0 deletions t/data/08_regression/51b_bitwise_dotted_ops.dump
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PPI::Document
PPI::Statement
PPI::Token::Symbol '$x'
PPI::Token::Operator '|.='
PPI::Token::Symbol '$y'
PPI::Token::Whitespace '\n'
2 changes: 1 addition & 1 deletion t/ppi_token_operator.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use lib 't/lib';
use PPI::Test::pragmas;
use Test::More tests => 3009 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
use Test::More tests => 3073 + ($ENV{AUTHOR_TESTING} ? 1 : 0);

use PPI ();
use PPI::Singletons qw( %KEYWORDS %OPERATOR );
Expand Down
Loading