-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl_yyparse: Assertion `( (((PL_curcop == &PL_compiling ? PL_compiling.cop_hints : PL_curcop->cop_hints) & 0x1c000000) >> 26) == (0x1c000000 >> 26) && (((PL_curcop == &PL_compiling ? PL_compiling.cop #15553
Comments
From @geeknikPerl v5.25.4-10-g8d168aa ./perl -e '%{p{};sub p}()' perl: perly.y:791: int Perl_yyparse(int): Assertion `( (((PL_curcop == &PL_compiling ? PL_compiling.cop_hints : PL_curcop->cop_hints) & 0x1c000000) >> 26) == (0x1c000000 >> 26) && (((PL_curcop == &PL_compiling ? PL_compiling.cop_hints : PL_curcop->cop_hints) & 0x00020000) ? Perl_feature_is_enabled( ("" "signatures" ""), (sizeof("signatures")-1)) : (0)) )' failed. #0 0x00007ffff6cf2067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 |
From @cpansproutOn Wed Aug 24 16:27:33 2016, brian.carpenter@gmail.com wrote:
With a simple ‘{sub f}’, the lexer emits a semicolon before the closing brace. Excerpt from -DpT output: Reading a token: ### <== ';' (A ‘forced token’ is a pending token that will be emitted the next time yylex is called.) With %{p{}; before it, it behaves differently: Reading a token: I have not looked into why. BTW, perl interprets %{p{foo}} as %p{foo}, and the parser starts to read the %{p{... as a key/value slice. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutThis is now fixed in bdc377e. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'resolved' |
From @cpansproutOn Wed Sep 07 23:06:18 2016, plokinom@gmail.com wrote:
I figured it would be harder to read that way. It would fail under the same circumstances anyway, so it’s equivalent. -- Father Chrysostomos |
Migrated from rt.perl.org#129073 (status was 'resolved')
Searchable as RT129073$
The text was updated successfully, but these errors were encountered: