summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/toke.c b/toke.c
index e58db68cfe..cf0a06a44a 100644
--- a/toke.c
+++ b/toke.c
@@ -6696,6 +6696,12 @@ yyl_backslash(pTHX_ char *s)
OPERATOR(REFGEN);
}
+#ifdef NETWARE
+#define RSFP_FILENO (PL_rsfp)
+#else
+#define RSFP_FILENO (PerlIO_fileno(PL_rsfp))
+#endif
+
static void
yyl_data_handle(pTHX)
{
@@ -9207,13 +9213,6 @@ yyl_try(pTHX_ char *s)
- cases for built-in keywords
*/
-#ifdef NETWARE
-#define RSFP_FILENO (PL_rsfp)
-#else
-#define RSFP_FILENO (PerlIO_fileno(PL_rsfp))
-#endif
-
-
int
Perl_yylex(pTHX)
{