forked from github/verilator
Move YYDEBUG into header. No functional change intended.
This commit is contained in:
parent
297b297bc7
commit
f94fcaa8e4
@ -94,7 +94,6 @@ LIBS = $(CFG_LIBS) -lm
|
|||||||
|
|
||||||
CPPFLAGS += -MMD
|
CPPFLAGS += -MMD
|
||||||
CPPFLAGS += -I. -I$(bldsrc) -I$(srcdir) -I$(incdir) -I../../include
|
CPPFLAGS += -I. -I$(bldsrc) -I$(srcdir) -I$(incdir) -I../../include
|
||||||
CPPFLAGS += -DYYDEBUG # Required to get nice error messages
|
|
||||||
#CPPFLAGS += -DVL_LEAK_CHECKS # If running valgrind or other hunting tool
|
#CPPFLAGS += -DVL_LEAK_CHECKS # If running valgrind or other hunting tool
|
||||||
CPPFLAGS += $(COPT)
|
CPPFLAGS += $(COPT)
|
||||||
CPPFLAGS += -MP # Only works on recent GCC versions
|
CPPFLAGS += -MP # Only works on recent GCC versions
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
//
|
//
|
||||||
//*************************************************************************
|
//*************************************************************************
|
||||||
|
|
||||||
|
#define YYDEBUG 1 // Nicer errors
|
||||||
|
|
||||||
#include "V3Ast.h" // This must be before V3ParseBison.cpp, as we don't want #defines to conflict
|
#include "V3Ast.h" // This must be before V3ParseBison.cpp, as we don't want #defines to conflict
|
||||||
|
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user