This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AUTHORS
[perl5.git]
/
perly.y
diff --git
a/perly.y
b/perly.y
index
4e00281
..
7d39242
100644
(file)
--- a/
perly.y
+++ b/
perly.y
@@
-627,7
+627,7
@@
term : termbinop
| termunop
| anonymous
| termdo
- | term '?'
expr
':' term
+ | term '?'
term
':' term
{ $$ = newCONDOP(0, $1, $3, $5); }
| REFGEN term /* \$x, \@y, \%z */
{ $$ = newUNOP(OP_REFGEN, 0, mod($2,OP_REFGEN)); }