Skip to content

Embedded parser uses load racc/info #199

@jwillemsen

Description

@jwillemsen

When using an embedded parser the generated rb uses require racc/info to get ::Racc::VERSION. As far as I understand it, when using an embedded parser I shouldn't need racc itself anymore, so why include racc/info?

To reproduce run in the sample directory racc -o calc.rb -E calc.y and check the generated calc.rb, see line 23 for the generated require

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions