* correct grammar; ref #20199 * add check for keeping grammar.txt up-to-date * add nimTestGrammar
This commit is contained in:
parent
114acff98d
commit
e323b91a32
3 changed files with 34 additions and 11 deletions
|
|
@ -175,8 +175,7 @@ objectDecl = 'object' ('of' typeDesc)? COMMENT? objectPart
|
|||
conceptParam = ('var' | 'out')? symbol
|
||||
conceptDecl = 'concept' conceptParam ^* ',' (pragma)? ('of' typeDesc ^* ',')?
|
||||
&IND{>} stmt
|
||||
typeDef = identWithPragmaDot genericParamList? '=' optInd typeDefAux
|
||||
indAndComment? / identVisDot genericParamList? pragma '=' optInd typeDefAux
|
||||
typeDef = identVisDot genericParamList? pragma '=' optInd typeDefAux
|
||||
indAndComment?
|
||||
varTuple = '(' optInd identWithPragma ^+ comma optPar ')' '=' optInd expr
|
||||
colonBody = colcom stmt postExprBlocks?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue