* 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
7
tests/compiler/tgrammar.nim
Normal file
7
tests/compiler/tgrammar.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
matrix: "-d:nimTestGrammar"
|
||||
"""
|
||||
|
||||
import compiler/parser
|
||||
|
||||
checkSameGrammar()
|
||||
Loading…
Add table
Add a link
Reference in a new issue