From 2c8ba56298b760a089c29162a5e84807c8f5f817 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Fri, 1 Apr 2016 09:42:41 +0200 Subject: [PATCH] parser: expand tokenbuf from 256 to 1024 This should speed up parsing, and changes the "Identifier too long" limitation from max 256 to 1024. See [cperl #124] --- t/blessed.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/blessed.t b/t/blessed.t index 21ae7f9ca9ef..c142aad97403 100644 --- a/t/blessed.t +++ b/t/blessed.t @@ -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 <