mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #2782 from cremno/define-yydebug-macro-conditionally
define YYDEBUG macro conditionally
This commit is contained in:
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user