summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2013-12-22 21:55:24 -0800
committerSimon Hafner <hafnersimon@gmail.com>2013-12-22 21:55:24 -0800
commitc3b3339e779dfe19ed1891295a763aea47981131 (patch)
treea2340bec81097aa0451701ad65d387dc7d12bad0 /compiler
parent52a8226edda05f2d3baad791639a1c2fe7f103cc (diff)
parent033938a53a62399d45c5fd6fe9c4e798431c964f (diff)
downloadNim-c3b3339e779dfe19ed1891295a763aea47981131.tar.gz
Merge pull request #774 from brihat/master
Correct the spelling of the word 'implicitly'
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ast.nim4
-rw-r--r--compiler/semexprs.nim2
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 1e5276d68..0790df0c4 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -238,7 +238,7 @@ type
     sfMainModule,     # module is the main module
     sfSystemModule,   # module is the system module
     sfNoReturn,       # proc never returns (an exit proc)
-    sfAddrTaken,      # the variable's address is taken (ex- or implicitely);
+    sfAddrTaken,      # the variable's address is taken (ex- or implicitly);
                       # *OR*: a proc is indirectly called (used as first class)
     sfCompilerProc,   # proc is a compiler proc, that is a C proc that is
                       # needed for the code generator
@@ -257,7 +257,7 @@ type
                       # for interfacing with C++, JS
     sfNamedParamCall, # symbol needs named parameter call syntax in target
                       # language; for interfacing with Objective C
-    sfDiscardable,    # returned value may be discarded implicitely
+    sfDiscardable,    # returned value may be discarded implicitly
     sfDestructor,     # proc is destructor
     sfGenSym          # symbol is 'gensym'ed; do not add to symbol table
 
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index ccbb1e367..310aabc32 100644
--- a/compiler/semexprs.nim
+++ b/compiler/semexprs.nim
@@ -508,7 +508,7 @@ proc fixAbstractType(c: PContext, n: PNode) =
         changeType(it.sons[1], s, check=true)
         n.sons[i] = it.sons[1]
     of nkBracket: 
-      # an implicitely constructed array (passed to an open array):
+      # an implicitly constructed array (passed to an open array):
       n.sons[i] = semArrayConstr(c, it, {})
     else: 
       nil