summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/perly.c b/perly.c
index c83a932977..0f1b7a88f9 100644
--- a/perly.c
+++ b/perly.c
@@ -27,6 +27,13 @@
#include "EXTERN.h"
#define PERL_IN_PERLY_C
+
+#ifdef DEBUGGING
+# define YYDEBUG 1
+#else
+# define YYDEBUG 0
+#endif
+
#include "perl.h"
typedef unsigned char yytype_uint8;
@@ -38,10 +45,8 @@ typedef signed char yysigned_char;
/* YYINITDEPTH -- initial size of the parser's stacks. */
#define YYINITDEPTH 200
-#ifdef DEBUGGING
-# define YYDEBUG 1
-#else
-# define YYDEBUG 0
+#ifndef YY_NULL
+# define YY_NULL 0
#endif
/* contains all the parser state tables; auto-generated from perly.y */