fix in msg doAssert() to update grammar.txt (#21179)
This commit is contained in:
parent
f7c203fb6c
commit
9b4516fbcb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue