Commit 3cd80a52 authored by cremno's avatar cremno

define YYDEBUG macro conditionally

The YYDEBUG macro enables parser debugging which
unnecessarily increases the executable size (9 to 10 KB).
Now it only will be defined when PARSER_DEBUG is too.
parent 2fe556d9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment