Skip to content

Handle location.hh, position.hh, and stack.hh #6

@nicmcd

Description

@nicmcd

out_src = ctx.actions.declare_file("{}.{}".format(ctx.attr.name, out_src_ext))

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions