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:
fd6781a
)
toke.c: Reorder checks around deprecate_escaped_meta
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 30 Aug 2013 21:50:43 +0000
(14:50 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 1 Sep 2013 18:32:07 +0000
(11:32 -0700)
ckWARN_d involves a function call, so put faster checks first.
toke.c
patch
|
blob
|
history
diff --git
a/toke.c
b/toke.c
index
2764709
..
bf9d160
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-10452,8
+10452,8
@@
S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse,
* happen for <>, as they aren't metas. */
if (deprecate_escaped_meta
&& (PL_multi_open == PL_multi_close
- ||
! ckWARN_d(WARN_DEPRECATED)
- ||
PL_multi_open == '<'
))
+ ||
PL_multi_open == '<'
+ ||
! ckWARN_d(WARN_DEPRECATED)
))
{
deprecate_escaped_meta = FALSE;
}