This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore perly.o build with -DDEBUGGING
authorFather Chrysostomos <sprout@cpan.org>
Wed, 26 Sep 2012 01:00:42 +0000 (18:00 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 26 Sep 2012 01:00:42 +0000 (18:00 -0700)
perly.c

diff --git a/perly.c b/perly.c
index c83a932..0f1b7a8 100644 (file)
--- a/perly.c
+++ b/perly.c
 
 #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 */