Merge pull request #2782 from cremno/define-yydebug-macro-conditionally

define YYDEBUG macro conditionally
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-05-07 23:43:09 +09:00
+3 -2
View File
@@ -6,8 +6,9 @@
%{
#undef PARSER_DEBUG
#define YYDEBUG 1
#ifdef PARSER_DEBUG
# define YYDEBUG 1
#endif
#define YYERROR_VERBOSE 1
/*
* Force yacc to use our memory management. This is a little evil because