Skip Menu |

This queue is for tickets about the Parse-Eyapp CPAN distribution.

Report information
The Basics
Id: 105643
Status: resolved
Priority: 0/
Queue: Parse-Eyapp

People
Owner: Nobody in particular
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.21



Subject: quote {
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\G%{ <-- HERE / at /usr/local/lib/perl5/site_perl/5.14.4/Parse/Eyapp/Parse.pm line 3239. and more. please quote the 2 { in the internal regexes. --- lib/Parse/Eyapp/Parse.yp +++ lib/Parse/Eyapp/Parse.yp @@ -1320,13 +1320,13 @@ sub _Lexer { return($1, [ $1, $lineno[0] ]); }; - $$input=~/\G\s*{/gc and return ('CODE', &slurp_perl_code()); # } + $$input=~/\G\s*\{/gc and return ('CODE', &slurp_perl_code()); # } if($lexlevel == 0) {# In head section $$input=~/\G%(left|right|nonassoc)/gc and return('ASSOC',[ uc($1), $lineno[0] ]); - $$input=~/\G%{/gc + $$input=~/\G%\{/gc and do { my($code); -- Reini Urban
On 2015-07-03 05:05:54, RURBAN wrote: Show quoted text
> Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/\G%{ <-- HERE / at > /usr/local/lib/perl5/site_perl/5.14.4/Parse/Eyapp/Parse.pm line 3239. > > and more. > > please quote the 2 { in the internal regexes. > > > --- lib/Parse/Eyapp/Parse.yp > +++ lib/Parse/Eyapp/Parse.yp > @@ -1320,13 +1320,13 @@ sub _Lexer { > return($1, [ $1, $lineno[0] ]); > }; > > - $$input=~/\G\s*{/gc and return ('CODE', &slurp_perl_code()); > # } > + $$input=~/\G\s*\{/gc and return ('CODE', &slurp_perl_code()); > # } > > if($lexlevel == 0) {# In head section > > $$input=~/\G%(left|right|nonassoc)/gc and return('ASSOC',[ uc($1), > $lineno[0] ]); > > - $$input=~/\G%{/gc > + $$input=~/\G%\{/gc > and do { > my($code);
This is now a hard error in perl 5.25.1: # Failed test 'use Parse::Eyapp;' # at t/01calc.t line 4. # Tried to use 'Parse::Eyapp'. # Error: Unescaped left brace in regex is illegal in regex; marked by <-- HERE in m/\G%{ <-- HERE / at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Parse.pm line 3239. # Compilation failed in require at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Grammar.pm line 15. # BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Grammar.pm line 15. # Compilation failed in require at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Lalr.pm line 6. # BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Lalr.pm line 6. # Compilation failed in require at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Output.pm line 17. # BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp/Output.pm line 17. # Compilation failed in require at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp.pm line 12. # BEGIN failed--compilation aborted at /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182-GhfZeU/blib/lib/Parse/Eyapp.pm line 16. # Compilation failed in require at t/01calc.t line 4. # BEGIN failed--compilation aborted at t/01calc.t line 4. Can't locate object method "new_grammar" via package "Parse::Eyapp" at t/01calc.t line 11, <DATA> line 58. # Looks like your test exited with 255 just after 1. t/01calc.t .................................. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/7 subtests ...
On 2016-05-31 02:12:10, SREZIC wrote: Show quoted text
> On 2015-07-03 05:05:54, RURBAN wrote:
> > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/\G%{ <-- HERE / at > > /usr/local/lib/perl5/site_perl/5.14.4/Parse/Eyapp/Parse.pm line 3239. > > > > and more. > > > > please quote the 2 { in the internal regexes. > > > > > > --- lib/Parse/Eyapp/Parse.yp > > +++ lib/Parse/Eyapp/Parse.yp > > @@ -1320,13 +1320,13 @@ sub _Lexer { > > return($1, [ $1, $lineno[0] ]); > > }; > > > > - $$input=~/\G\s*{/gc and return ('CODE', &slurp_perl_code()); > > # } > > + $$input=~/\G\s*\{/gc and return ('CODE', > > &slurp_perl_code()); > > # } > > > > if($lexlevel == 0) {# In head section > > > > $$input=~/\G%(left|right|nonassoc)/gc and return('ASSOC',[ uc($1), > > $lineno[0] ]); > > > > - $$input=~/\G%{/gc > > + $$input=~/\G%\{/gc > > and do { > > my($code);
> > This is now a hard error in perl 5.25.1: > > # Failed test 'use Parse::Eyapp;' > # at t/01calc.t line 4. > # Tried to use 'Parse::Eyapp'. > # Error: Unescaped left brace in regex is illegal in regex; > marked by <-- HERE in m/\G%{ <-- HERE / at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Parse.pm line 3239. > # Compilation failed in require at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Grammar.pm line 15. > # BEGIN failed--compilation aborted at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Grammar.pm line 15. > # Compilation failed in require at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Lalr.pm line 6. > # BEGIN failed--compilation aborted at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Lalr.pm line 6. > # Compilation failed in require at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Output.pm line 17. > # BEGIN failed--compilation aborted at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp/Output.pm line 17. > # Compilation failed in require at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp.pm line 12. > # BEGIN failed--compilation aborted at > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > GhfZeU/blib/lib/Parse/Eyapp.pm line 16. > # Compilation failed in require at t/01calc.t line 4. > # BEGIN failed--compilation aborted at t/01calc.t line 4. > Can't locate object method "new_grammar" via package "Parse::Eyapp" at > t/01calc.t line 11, <DATA> line 58. > # Looks like your test exited with 255 just after 1. > t/01calc.t .................................. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 7/7 subtests > ...
A distroprefs file for CPAN.pm users: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/Parse-Eyapp.yml
On 2016-06-08 15:51:40, SREZIC wrote: Show quoted text
> On 2016-05-31 02:12:10, SREZIC wrote:
> > On 2015-07-03 05:05:54, RURBAN wrote:
> > > Unescaped left brace in regex is deprecated, passed through in > > > regex; > > > marked by <-- HERE in m/\G%{ <-- HERE / at > > > /usr/local/lib/perl5/site_perl/5.14.4/Parse/Eyapp/Parse.pm line > > > 3239. > > > > > > and more. > > > > > > please quote the 2 { in the internal regexes. > > > > > > > > > --- lib/Parse/Eyapp/Parse.yp > > > +++ lib/Parse/Eyapp/Parse.yp > > > @@ -1320,13 +1320,13 @@ sub _Lexer { > > > return($1, [ $1, $lineno[0] ]); > > > }; > > > > > > - $$input=~/\G\s*{/gc and return ('CODE', > > > &slurp_perl_code()); > > > # } > > > + $$input=~/\G\s*\{/gc and return ('CODE', > > > &slurp_perl_code()); > > > # } > > > > > > if($lexlevel == 0) {# In head section > > > > > > $$input=~/\G%(left|right|nonassoc)/gc and return('ASSOC',[ uc($1), > > > $lineno[0] ]); > > > > > > - $$input=~/\G%{/gc > > > + $$input=~/\G%\{/gc > > > and do { > > > my($code);
> > > > This is now a hard error in perl 5.25.1: > > > > # Failed test 'use Parse::Eyapp;' > > # at t/01calc.t line 4. > > # Tried to use 'Parse::Eyapp'. > > # Error: Unescaped left brace in regex is illegal in regex; > > marked by <-- HERE in m/\G%{ <-- HERE / at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Parse.pm line 3239. > > # Compilation failed in require at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Grammar.pm line 15. > > # BEGIN failed--compilation aborted at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Grammar.pm line 15. > > # Compilation failed in require at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Lalr.pm line 6. > > # BEGIN failed--compilation aborted at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Lalr.pm line 6. > > # Compilation failed in require at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Output.pm line 17. > > # BEGIN failed--compilation aborted at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp/Output.pm line 17. > > # Compilation failed in require at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp.pm line 12. > > # BEGIN failed--compilation aborted at > > /usr/home/eserte/.cpan/build/2016053100/Parse-Eyapp-1.182- > > GhfZeU/blib/lib/Parse/Eyapp.pm line 16. > > # Compilation failed in require at t/01calc.t line 4. > > # BEGIN failed--compilation aborted at t/01calc.t line 4. > > Can't locate object method "new_grammar" via package "Parse::Eyapp" > > at > > t/01calc.t line 11, <DATA> line 58. > > # Looks like your test exited with 255 just after 1. > > t/01calc.t .................................. > > Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 7/7 subtests > > ...
> > A distroprefs file for CPAN.pm users: > https://github.com/eserte/srezic-cpan-distroprefs/blob/master/Parse- > Eyapp.yml
perl 5.26.0 RC1 is out now. The patch is still needed & working.
RT-Send-CC: modules [...] perl.org, WBRASWELL [...] cpan.org
Can someone please take over maintenance of this module? It's unmaintained. -- Reini Urban
This issue is now resolved.