summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-25 18:00:42 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-25 18:00:42 -0700
commitb3045d9c1f82f3a16ffa240a2b4e501855d2f95e (patch)
tree7d083b01f62378db224564c717118d7023aca6c3 /perly.c
parent736be88fdd627ea774a29942bde021e39c4e7d8e (diff)
downloadperl-b3045d9c1f82f3a16ffa240a2b4e501855d2f95e.tar.gz
Restore perly.o build with -DDEBUGGING
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 */