rsdn / nitra

Nitra is a language workbench

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not working IgnoreToken

BodukGenius opened this issue · comments

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;
}
`