You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bison ypp that uses both %defines and %locations, thus these files should be generated per https://www.gnu.org/software/bison/manual/html_node/C_002b_002b-Bison-Interface.html. Have you thought about how to handle these files? Otherwise, the compilation process won't work because the output source file contains # include "location.hh"
The text was updated successfully, but these errors were encountered:
Definitions are handled by setting the --defines flag, and the resulting generated header file is available to dependent targets.
The GNU Bison flag --locations doesn't support passing in the path to the locations header output, so it's difficult to use that functionality from within Bazel. If a future version of Bison supports argv-specified location.hh paths, then rules_bison could support it.
rules_bison/bison/bison.bzl
Line 70 in 85e9bab
I have a bison ypp that uses both %defines and %locations, thus these files should be generated per https://www.gnu.org/software/bison/manual/html_node/C_002b_002b-Bison-Interface.html. Have you thought about how to handle these files? Otherwise, the compilation process won't work because the output source file contains
# include "location.hh"
The text was updated successfully, but these errors were encountered: