Skip to content

Commit

Permalink
parser: expand tokenbuf from 256 to 1024
Browse files Browse the repository at this point in the history
This should speed up parsing,
and changes the "Identifier too long" limitation from max 256 to 1024.
See [cperl #124]
  • Loading branch information
Reini Urban committed Apr 5, 2016
1 parent 04f6e8e commit 2c8ba56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/blessed.t
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ package main;
# Still less than 256 bytes, so long classname logic not fully exercised
# Identifier too long - 5.004
# parser.h: char tokenbuf[256]: cperl => 1024
my $m = 14; # 56 if enhanced to 1024
my $m = $Config{usecperl} ? 56 : 14;
my $longname = "LONG_NAME_" . ('xxxxxxxxxxxxx::' x $m) . "final";

eval <<EOC;
Expand Down

0 comments on commit 2c8ba56

Please sign in to comment.