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

Sequences multiplicity #5

Open
maveme opened this issue Jul 15, 2021 · 1 comment
Open

Sequences multiplicity #5

maveme opened this issue Jul 15, 2021 · 1 comment

Comments

@maveme
Copy link
Collaborator

maveme commented Jul 15, 2021

Extracting multiplicity of sequences is broken (module kogi::util::Util).

tuple[str name, bool val] extractMultiplicity(\iter-star-seps(Symbol symbol, _)) {
...
}
seq([
    lit("["),
    layouts("LAYOUTLIST"),
    lit("]")
  ])
@maveme
Copy link
Collaborator Author

maveme commented Jul 15, 2021

An example of a production rule that triggers this problem is

syntax Dims = bla: Annotation* an "[" a  "]" s (Annotation* anns "[" f "]" s)* d; 

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

1 participant