hackt icon indicating copy to clipboard operation
hackt copied to clipboard

bison-2.7 produces files outside of subdirectory where source file was referenced

Open fangism opened this issue 8 years ago • 1 comments

From the src/ directory, when bison (2.7) is run on an input like parser/hackt-parse.yy, it writes out hackt-parse.cc in the current directory rather than the parser/ subdirectory. This breaks the expectation of the rest of the build system, when it expects parse/hackt-parse.cc and parser/hackt-parse.output. It's possible that this is the responsibility of AC_PROG_YACC autoconf macro.

fangism avatar Mar 18 '16 04:03 fangism

or rather, the ylwrap script from automake

fangism avatar Mar 18 '16 04:03 fangism