Skip to content
Snippets Groups Projects
Commit 47fcb1db authored by Síle Ekaterin Liszka's avatar Síle Ekaterin Liszka
Browse files

Chessa::Sharp: fix token_int

parent d43071f0
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ sub token_int($self, @args) {
$self->generic_token(
int => qr/-?(?:0b[01]+|0o[0-7]+|0x[0-9a-f]+|[0-9]+)/i,
sub {
my $str = $args[1];
my $str = $args[0];
my $base = 10;
my $sign = ( $str =~ s/^-// ) ? -1 : 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment