summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorrockcavera <rockcavera@gmail.com>2022-12-27 01:13:05 -0300
committerGitHub <noreply@github.com>2022-12-27 12:13:05 +0800
commit9b4516fbcb4ad9c5db1e6f563601855f0e9982a0 (patch)
tree75cc1de5d5bc18e36003091f8a7ba88bdcedee5f
parentf7c203fb6c89b5cef83c4f326aeb23ef8c4a2c40 (diff)
downloadNim-9b4516fbcb4ad9c5db1e6f563601855f0e9982a0.tar.gz
fix in msg `doAssert()` to update grammar.txt (#21179)
-rw-r--r--compiler/parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index 00013c218..0c8edd2a8 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -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