From 8b4c5ad11955dc809ba3b7d6672b3a13ea54e770 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 13 Sep 2014 12:13:29 -0700 Subject: [PATCH] toke.c: Remove redundant PL_expect check PL_expect is only ever XREF when we already know there is an open brace. So we would never even get to this code path. --- toke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toke.c b/toke.c index 028c685..edd458d 100644 --- a/toke.c +++ b/toke.c @@ -6215,7 +6215,7 @@ Perl_yylex(pTHX) } /* avoid v123abc() or $h{v1}, allow C */ if (!isALPHA(*start) && (PL_expect == XTERM - || PL_expect == XREF || PL_expect == XSTATE + || PL_expect == XSTATE || PL_expect == XTERMORDORDOR)) { GV *const gv = gv_fetchpvn_flags(s, start - s, UTF ? SVf_UTF8 : 0, SVt_PVCV); -- 1.8.3.1