Skip to content

EOF rules with multiple blocks #280

@brk

Description

@brk

When using multiple blocks within a single function, the EOF rules in each block will (re-)define the same yyeof symbol. (This behavior applies to both 1.3 and HEAD). The resulting code cannot be compiled.

I took a quick look at the code in emit_action.cc but didn't see an obvious way of obtaining a block identifier. Hopefully this isn't a difficult patch to produce for someone more familiar with the codebase!

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