Fix casing in rule 'typeDesc' (#7324)

Also, leave a note in grammar.txt that it is generated.
This commit is contained in:
Robert Hencke 2018-03-12 04:27:36 -04:00 • committed by Andreas Rumpf
commit ac10a3813a
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,4 @@
# This file is generated by compiler/parser.nim.
module = stmt ^* (';' / IND{=})
comma = ',' COMMENT?
semicolon = ';' COMMENT?
@ -155,7 +156,7 @@ routine = optInd identVis pattern? genericParamList?
paramListColon pragma? ('=' COMMENT? stmt)? indAndComment
commentStmt = COMMENT
section(p) = COMMENT? p / (IND{>} (p / COMMENT)^+IND{=} DED)
constant = identWithPragma (colon typedesc)? '=' optInd expr indAndComment
constant = identWithPragma (colon typeDesc)? '=' optInd expr indAndComment
enum = 'enum' optInd (symbol optInd ('=' optInd expr COMMENT?)? comma?)+
objectWhen = 'when' expr colcom objectPart COMMENT?
('elif' expr colcom objectPart COMMENT?)*