diff options
author | Satish BD <bdsatish@gmail.com> | 2013-12-23 04:29:50 +0200 |
---|---|---|
committer | Satish BD <bdsatish@gmail.com> | 2013-12-23 04:29:50 +0200 |
commit | 033938a53a62399d45c5fd6fe9c4e798431c964f (patch) | |
tree | a2340bec81097aa0451701ad65d387dc7d12bad0 | |
parent | 52a8226edda05f2d3baad791639a1c2fe7f103cc (diff) | |
download | Nim-033938a53a62399d45c5fd6fe9c4e798431c964f.tar.gz |
Correct the spelling of the word 'implicitly'
-rw-r--r-- | compiler/ast.nim | 4 | ||||
-rw-r--r-- | compiler/semexprs.nim | 2 | ||||
-rw-r--r-- | doc/intern.txt | 2 | ||||
-rw-r--r-- | doc/tut2.txt | 2 | ||||
-rw-r--r-- | lib/system/threads.nim | 2 | ||||
-rw-r--r-- | tests/compile/ttempl3.nim | 2 | ||||
-rw-r--r-- | tinyc/tccgen.c | 2 | ||||
-rw-r--r-- | web/news.txt | 4 |
8 files changed, 10 insertions, 10 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 diff --git a/doc/intern.txt b/doc/intern.txt index 9d9eb66cc..c602e4933 100644 --- a/doc/intern.txt +++ b/doc/intern.txt @@ -215,7 +215,7 @@ Backend issues - Init procs must not be "forgotten" to be called. - Files must not be "forgotten" to be linked. - Anything that is contained in ``nim__dat.c`` is shared between modules - implicitely. + implicitly. - Method dispatchers are global. - DLL loading via ``dlsym`` is global. - Emulated thread vars are global. diff --git a/doc/tut2.txt b/doc/tut2.txt index b35f71527..f8fa4aef3 100644 --- a/doc/tut2.txt +++ b/doc/tut2.txt @@ -77,7 +77,7 @@ section. Inheritance is done with the ``object of`` syntax. Multiple inheritance is currently not supported. If an object type has no suitable ancestor, ``TObject`` can be used as its ancestor, but this is only a convention. Objects that have -no ancestor are implicitely ``final``. You can use the ``inheritable`` pragma +no ancestor are implicitly ``final``. You can use the ``inheritable`` pragma to introduce new object roots apart from ``system.TObject``. (This is used in the GTK wrapper for instance.) diff --git a/lib/system/threads.nim b/lib/system/threads.nim index 104ca63c1..80420d791 100644 --- a/lib/system/threads.nim +++ b/lib/system/threads.nim @@ -295,7 +295,7 @@ template ThreadProcWrapperBody(closure: expr) {.immediate.} = when defined(windows): proc threadProcWrapper[TArg](closure: pointer): int32 {.stdcall.} = ThreadProcWrapperBody(closure) - # implicitely return 0 + # implicitly return 0 else: proc threadProcWrapper[TArg](closure: pointer) {.noconv.} = ThreadProcWrapperBody(closure) diff --git a/tests/compile/ttempl3.nim b/tests/compile/ttempl3.nim index 361d11f6e..59be24624 100644 --- a/tests/compile/ttempl3.nim +++ b/tests/compile/ttempl3.nim @@ -2,7 +2,7 @@ template withOpenFile(f: expr, filename: string, mode: TFileMode, actions: stmt): stmt {.immediate.} = block: - # test that 'f' is implicitely 'injecting': + # test that 'f' is implicitly 'injecting': var f: TFile if open(f, filename, mode): try: diff --git a/tinyc/tccgen.c b/tinyc/tccgen.c index 942c503c1..3135e7b37 100644 --- a/tinyc/tccgen.c +++ b/tinyc/tccgen.c @@ -1931,7 +1931,7 @@ static void gen_assign_cast(CType *dt) goto type_ok; } type1 = pointed_type(dt); - /* a function is implicitely a function pointer */ + /* a function is implicitly a function pointer */ if (sbt == VT_FUNC) { if ((type1->t & VT_BTYPE) != VT_VOID && !is_compatible_types(pointed_type(dt), st)) diff --git a/web/news.txt b/web/news.txt index 3d1546fb7..4f40d6484 100644 --- a/web/news.txt +++ b/web/news.txt @@ -309,7 +309,7 @@ Changes affecting backwards compatibility - The Nimrod type system now distinguishes ``openarray`` from ``varargs``. - Templates are now ``hygienic``. Use the ``dirty`` pragma to get the old behaviour. -- Objects that have no ancestor are now implicitely ``final``. Use +- Objects that have no ancestor are now implicitly ``final``. Use the ``inheritable`` pragma to introduce new object roots apart from ``TObject``. - Macros now receive parameters like templates do; use the ``callsite`` builtin @@ -439,7 +439,7 @@ Language Additions - The error pragma can now be used to mark symbols whose *usage* should trigger a compile-time error. - There is a new ``discardable`` pragma that can be used to mark a routine - so that its result can be discarded implicitely. + so that its result can be discarded implicitly. - Added a new ``noinit`` pragma to prevent automatic initialization to zero of variables. - Constants can now have the type ``seq``. |