diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-10-06 22:36:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 16:36:32 +0200 |
commit | e323b91a32ecff1473d9330605d85ad5f3684e99 (patch) | |
tree | c76ca63d3ce7590a4a95445abf33b82961c506ac /tests/compiler/tgrammar.nim | |
parent | 114acff98d64781b1fdfe951c6f543e2fec60000 (diff) | |
download | Nim-e323b91a32ecff1473d9330605d85ad5f3684e99.tar.gz |
correct grammar (ref #20199) and add check for grammar.txt (#20494)
* correct grammar; ref #20199 * add check for keeping grammar.txt up-to-date * add nimTestGrammar
Diffstat (limited to 'tests/compiler/tgrammar.nim')
-rw-r--r-- | tests/compiler/tgrammar.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/compiler/tgrammar.nim b/tests/compiler/tgrammar.nim new file mode 100644 index 000000000..772d0f0cc --- /dev/null +++ b/tests/compiler/tgrammar.nim @@ -0,0 +1,7 @@ +discard """ + matrix: "-d:nimTestGrammar" +""" + +import compiler/parser + +checkSameGrammar() |