Correct the spelling of the word 'implicitly'
This commit is contained in:
parent
52a8226edd
commit
033938a53a
8 changed files with 10 additions and 10 deletions
|
|
@ -238,7 +238,7 @@ type
|
||||||
sfMainModule, # module is the main module
|
sfMainModule, # module is the main module
|
||||||
sfSystemModule, # module is the system module
|
sfSystemModule, # module is the system module
|
||||||
sfNoReturn, # proc never returns (an exit proc)
|
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)
|
# *OR*: a proc is indirectly called (used as first class)
|
||||||
sfCompilerProc, # proc is a compiler proc, that is a C proc that is
|
sfCompilerProc, # proc is a compiler proc, that is a C proc that is
|
||||||
# needed for the code generator
|
# needed for the code generator
|
||||||
|
|
@ -257,7 +257,7 @@ type
|
||||||
# for interfacing with C++, JS
|
# for interfacing with C++, JS
|
||||||
sfNamedParamCall, # symbol needs named parameter call syntax in target
|
sfNamedParamCall, # symbol needs named parameter call syntax in target
|
||||||
# language; for interfacing with Objective C
|
# language; for interfacing with Objective C
|
||||||
sfDiscardable, # returned value may be discarded implicitely
|
sfDiscardable, # returned value may be discarded implicitly
|
||||||
sfDestructor, # proc is destructor
|
sfDestructor, # proc is destructor
|
||||||
sfGenSym # symbol is 'gensym'ed; do not add to symbol table
|
sfGenSym # symbol is 'gensym'ed; do not add to symbol table
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -508,7 +508,7 @@ proc fixAbstractType(c: PContext, n: PNode) =
|
||||||
changeType(it.sons[1], s, check=true)
|
changeType(it.sons[1], s, check=true)
|
||||||
n.sons[i] = it.sons[1]
|
n.sons[i] = it.sons[1]
|
||||||
of nkBracket:
|
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, {})
|
n.sons[i] = semArrayConstr(c, it, {})
|
||||||
else:
|
else:
|
||||||
nil
|
nil
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,7 @@ Backend issues
|
||||||
- Init procs must not be "forgotten" to be called.
|
- Init procs must not be "forgotten" to be called.
|
||||||
- Files must not be "forgotten" to be linked.
|
- Files must not be "forgotten" to be linked.
|
||||||
- Anything that is contained in ``nim__dat.c`` is shared between modules
|
- Anything that is contained in ``nim__dat.c`` is shared between modules
|
||||||
implicitely.
|
implicitly.
|
||||||
- Method dispatchers are global.
|
- Method dispatchers are global.
|
||||||
- DLL loading via ``dlsym`` is global.
|
- DLL loading via ``dlsym`` is global.
|
||||||
- Emulated thread vars are global.
|
- Emulated thread vars are global.
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ section.
|
||||||
Inheritance is done with the ``object of`` syntax. Multiple inheritance is
|
Inheritance is done with the ``object of`` syntax. Multiple inheritance is
|
||||||
currently not supported. If an object type has no suitable ancestor, ``TObject``
|
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
|
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
|
to introduce new object roots apart from ``system.TObject``. (This is used
|
||||||
in the GTK wrapper for instance.)
|
in the GTK wrapper for instance.)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,7 @@ template ThreadProcWrapperBody(closure: expr) {.immediate.} =
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
proc threadProcWrapper[TArg](closure: pointer): int32 {.stdcall.} =
|
proc threadProcWrapper[TArg](closure: pointer): int32 {.stdcall.} =
|
||||||
ThreadProcWrapperBody(closure)
|
ThreadProcWrapperBody(closure)
|
||||||
# implicitely return 0
|
# implicitly return 0
|
||||||
else:
|
else:
|
||||||
proc threadProcWrapper[TArg](closure: pointer) {.noconv.} =
|
proc threadProcWrapper[TArg](closure: pointer) {.noconv.} =
|
||||||
ThreadProcWrapperBody(closure)
|
ThreadProcWrapperBody(closure)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
template withOpenFile(f: expr, filename: string, mode: TFileMode,
|
template withOpenFile(f: expr, filename: string, mode: TFileMode,
|
||||||
actions: stmt): stmt {.immediate.} =
|
actions: stmt): stmt {.immediate.} =
|
||||||
block:
|
block:
|
||||||
# test that 'f' is implicitely 'injecting':
|
# test that 'f' is implicitly 'injecting':
|
||||||
var f: TFile
|
var f: TFile
|
||||||
if open(f, filename, mode):
|
if open(f, filename, mode):
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
|
|
@ -1931,7 +1931,7 @@ static void gen_assign_cast(CType *dt)
|
||||||
goto type_ok;
|
goto type_ok;
|
||||||
}
|
}
|
||||||
type1 = pointed_type(dt);
|
type1 = pointed_type(dt);
|
||||||
/* a function is implicitely a function pointer */
|
/* a function is implicitly a function pointer */
|
||||||
if (sbt == VT_FUNC) {
|
if (sbt == VT_FUNC) {
|
||||||
if ((type1->t & VT_BTYPE) != VT_VOID &&
|
if ((type1->t & VT_BTYPE) != VT_VOID &&
|
||||||
!is_compatible_types(pointed_type(dt), st))
|
!is_compatible_types(pointed_type(dt), st))
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ Changes affecting backwards compatibility
|
||||||
- The Nimrod type system now distinguishes ``openarray`` from ``varargs``.
|
- The Nimrod type system now distinguishes ``openarray`` from ``varargs``.
|
||||||
- Templates are now ``hygienic``. Use the ``dirty`` pragma to get the old
|
- Templates are now ``hygienic``. Use the ``dirty`` pragma to get the old
|
||||||
behaviour.
|
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
|
the ``inheritable`` pragma to introduce new object roots apart
|
||||||
from ``TObject``.
|
from ``TObject``.
|
||||||
- Macros now receive parameters like templates do; use the ``callsite`` builtin
|
- 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
|
- The error pragma can now be used to mark symbols whose *usage* should trigger
|
||||||
a compile-time error.
|
a compile-time error.
|
||||||
- There is a new ``discardable`` pragma that can be used to mark a routine
|
- 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
|
- Added a new ``noinit`` pragma to prevent automatic initialization to zero
|
||||||
of variables.
|
of variables.
|
||||||
- Constants can now have the type ``seq``.
|
- Constants can now have the type ``seq``.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue