mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-08 12:54:22 +00:00
fix in msg doAssert() to update grammar.txt (#21179)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user