Skip to content

Attribute to force generating C-style parser in C++ output source file #24

@jmillikin

Description

@jmillikin

A parser that is generated with the Bison C parser API might actually be written in C++, and therefore needs to be emitted in a *.cc source file. There is currently no way to specify this with the bison or bison_cc_library rules, and the workaround conlyopts = ["-x", "c++"], is compiler-specific.

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