Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow production lists to refer to tokens from other production groups. #8247

Merged
merged 2 commits into from
Jan 23, 2021

Commits on Jan 20, 2021

  1. Allow production lists to refer to tokens from other production groups.

    Outside production lists, syntax "`foo:bar`" already makes it possible to
    refer to the production "bar" of group "foo". This commit offers the same
    feature inside production lists. Similarly to the reference syntax,
    prefixing with a tilde prevents the group from being displayed.
    
    This commit also makes it possible to use "`:bar`" to refer to production
    "bar" from a production list without a group name. This is especially
    useful when one has a main (unnamed) grammar and one or several named
    extensions that need to refer to it.
    silene committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    8a1d0d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. Add testcase.

    silene committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    ffacb2c View commit details
    Browse the repository at this point in the history