summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/toke.c b/toke.c
index e336c6a483..7d785a8771 100644
--- a/toke.c
+++ b/toke.c
@@ -7622,12 +7622,6 @@ yyl_just_a_word(pTHX_ char *s, STRLEN len, I32 orig_keyword, struct code c)
}
s = SvPVX(PL_linestr) + s_off;
- if (((PL_opargs[PL_last_lop_op] >> OASHIFT) & 7) == OA_FILEREF
- && !immediate_paren && !c.cv
- && !FEATURE_BAREWORD_FILEHANDLES_IS_ENABLED) {
- no_bareword_filehandle(PL_tokenbuf);
- }
-
/* If not a declared subroutine, it's an indirect object. */
/* (But it's an indir obj regardless for sort.) */
/* Also, if "_" follows a filetest operator, it's a bareword */