projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d85e41
)
toke.c: Merge KEY_tr and KEY_y
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 27 Aug 2012 06:27:45 +0000
(23:27 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 28 Aug 2012 06:24:00 +0000
(23:24 -0700)
toke.c
patch
|
blob
|
history
diff --git
a/toke.c
b/toke.c
index
c607071
..
5174f89
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-8441,6
+8441,7
@@
Perl_yylex(pTHX)
LOP(OP_SYSWRITE,XTERM);
case KEY_tr:
+ case KEY_y:
s = scan_trans(s);
TERM(sublex_start());
@@
-8568,10
+8569,6
@@
Perl_yylex(pTHX)
return REPORT(0);
pl_yylval.ival = OP_XOR;
OPERATOR(OROP);
-
- case KEY_y:
- s = scan_trans(s);
- TERM(sublex_start());
}
}}
}