The current bison (3.7) generates a *.cc file that includes the header
it generated. For parse.cc this would be parse.hh. Right now, we rename
this header to have a common name used in other files, but this results
in a compile error for the parse.cc file:
parse.cc:462:10: fatal error: parse.hh: No such file or directory
462 | #include "parse.hh"
| ^~~~~~~~~~
Fix this by telling bison to output the header file to the correct
filename in the first place so that we don't have to rename it.
(using the --defines instead of -d option).
This looks like a bison specific option not available in Posix yacc;
but looks like we're requiring bison anyway.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
|
||
|---|---|---|
| .. | ||
| Makefile.in | ||
| cppcheck.sup | ||
| footprint.cc | ||
| fp.lex | ||
| fp.y | ||
| fp_api.h | ||
| pcb-s.conf | ||
| pcb.cc | ||
| pcb.conf | ||
| pcb_config.h.in | ||
| pcb_priv.h | ||
| scope.cc | ||
| show_netlist.cc | ||
| show_pcb.cc | ||