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

grammar.adoc is missing grammar for initializer and initializer_list rules #269

Open
TobyCharlton opened this issue Nov 28, 2024 · 1 comment

Comments

@TobyCharlton
Copy link

grammar.adoc is missing grammar for initializer and initializer_list rules
initializer : is empty
initializer_list : does not exist

@rlocatti-nv
Copy link
Contributor

Hello. The definitions are there, but they are not being rendered by the GitHub preview. They are wrapped around ifdefs like this:

_initializer_ : ::
ifdef::GLSL[]
    _assignment_expression_ +
    _LEFT_BRACE_ _initializer_list_ _RIGHT_BRACE_ +
    _LEFT_BRACE_ _initializer_list_ _COMMA_ _RIGHT_BRACE_

_initializer_list_ : ::
    _initializer_ +
    _initializer_list_ _COMMA_ _initializer_
endif::GLSL[]
ifdef::ESSL[]
    _assignment_expression_
endif::ESSL[]

There are other instances, the raw file can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants