Skip to content

How to use a symbol table in lexer actions if they do not have access to the grammar/lexer/user_data ? #53

@mingodad

Description

@mingodad

While trying to use a symbol table for a grammar/parser I noticed that lexer/parser actions do not have access to the the grammar/parser/lexer/user_data to be able to get/set/find any user defined container for any purpose.

It seems that at least we'll need an extra parameter void *user_data to allow pass data to be used there.

Can an working example of a grammar using a symbol table be added ?

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