summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/perly.y b/perly.y
index 74802f4237..f9c5c5f606 100644
--- a/perly.y
+++ b/perly.y
@@ -61,6 +61,7 @@ static void yydestruct(pTHXo_ void *ptr);
#ifdef USE_PURE_BISON
#define YYLEX_PARAM (&yychar)
+#define yylex yylex_r
#endif
%}