Do not working IgnoreToken
BodukGenius opened this issue · comments
BodukGenius commented
`
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;
}
`