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

Do not working IgnoreToken #63

Open
BodukGenius opened this issue Sep 15, 2018 · 0 comments
Open

Do not working IgnoreToken #63

BodukGenius opened this issue Sep 15, 2018 · 0 comments

Comments

@BodukGenius
Copy link

capture

`
syntax CompilationUnit = TypeDeclaration* !Any;
syntax TypeDeclaration = nl asnIdentifier s sm "::=" s sm TypeDefinition nl;
syntax TypeDefinition
{
syntax EnumDefinition = OpenBlock CloseBlock;
| Enumerated = ENUMERATED EnumDefinition;
}
token Comment
{
| [ExplicitSpaces]SingleLine = "--" (!NewLine Any)* NewLine?;
}

extend token IgnoreToken
{
| Comment;
}
`

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