fix in msg doAssert() to update grammar.txt (#21179)

This commit is contained in:
rockcavera
2022-12-27 01:13:05 -03:00
committed by GitHub
parent f7c203fb6c
commit 9b4516fbcb

View File

@@ -42,7 +42,7 @@ when isMainModule or defined(nimTestGrammar):
proc checkSameGrammar*() =
doAssert sameFileContent(newGrammarText, "doc/grammar.txt"),
"execute 'nim r compiler.nim' to keep grammar.txt up-to-date"
"execute 'nim r compiler/parser.nim' to keep grammar.txt up-to-date"
else:
writeGrammarFile("doc/grammar.txt")
import ".." / tools / grammar_nanny