summary refs log tree commit diff stats
path: root/compiler/docgen.nim
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2015-02-15 16:06:06 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2015-02-15 16:06:06 +0000
commitc95f6f117a665bc6d3d64ae8703459759973f63f (patch)
tree21df380c373960c77b8bb19eb415578f1556c953 /compiler/docgen.nim
parentd8c4c576372f63219b90203a71855c93a10ddda3 (diff)
downloadNim-c95f6f117a665bc6d3d64ae8703459759973f63f.tar.gz
Fix typos
Diffstat (limited to 'compiler/docgen.nim')
-rw-r--r--compiler/docgen.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index 3f4f39c27..ce2fa1936 100644
--- a/compiler/docgen.nim
+++ b/compiler/docgen.nim
@@ -126,7 +126,7 @@ proc ropeFormatNamedVars(frmt: TFormatStr, varnames: openArray[string],
           if not (frmt[i] in {'A'..'Z', '_', 'a'..'z', '\x80'..'\xFF'}): break
         var idx = getVarIdx(varnames, id)
         if idx >= 0: app(result, varvalues[idx])
-        else: rawMessage(errUnkownSubstitionVar, id)
+        else: rawMessage(errUnknownSubstitionVar, id)
       of '{':
         var id = ""
         inc(i)
@@ -138,7 +138,7 @@ proc ropeFormatNamedVars(frmt: TFormatStr, varnames: openArray[string],
                               # search for the variable:
         var idx = getVarIdx(varnames, id)
         if idx >= 0: app(result, varvalues[idx])
-        else: rawMessage(errUnkownSubstitionVar, id)
+        else: rawMessage(errUnknownSubstitionVar, id)
       else: internalError("ropeFormatNamedVars")
     var start = i
     while i < L: