diff options
author | reactormonk <hafnersimon@gmail.com> | 2015-06-21 14:36:55 -0500 |
---|---|---|
committer | reactormonk <hafnersimon@gmail.com> | 2015-06-21 14:36:55 -0500 |
commit | 37677636bc919c4a8fab25fedbcf917dcf177d98 (patch) | |
tree | efb249959936b9ac7fb791a52d58abd247b86918 /lib | |
parent | 9173b66cb750326a51a1d14e71004b7c27df1d44 (diff) | |
parent | e7132767a19fae1c20bfe49d764b628f3da6e8c8 (diff) | |
download | Nim-37677636bc919c4a8fab25fedbcf917dcf177d98.tar.gz |
Merge pull request #2968 from def-/neutral-language
Neutral language
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/alloc.nim | 2 | ||||
-rw-r--r-- | lib/system/hti.nim | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 76232499e..d877cda2c 100644 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -210,7 +210,7 @@ proc getMaxMem(a: var MemRegion): int = proc llAlloc(a: var MemRegion, size: int): pointer = # *low-level* alloc for the memory managers data structures. Deallocation - # is done at he end of the allocator's life time. + # is done at the end of the allocator's life time. if a.llmem == nil or size > a.llmem.size: # the requested size is ``roundup(size+sizeof(LLChunk), PageSize)``, but # since we know ``size`` is a (small) constant, we know the requested size diff --git a/lib/system/hti.nim b/lib/system/hti.nim index aff0c0e6f..bfb13059e 100644 --- a/lib/system/hti.nim +++ b/lib/system/hti.nim @@ -7,14 +7,14 @@ # distribution, for details about the copyright. # -when declared(NimString): +when declared(NimString): # we are in system module: {.pragma: codegenType, compilerproc.} else: {.pragma: codegenType, importc.} -type - # This should be he same as ast.TTypeKind +type + # This should be the same as ast.TTypeKind # many enum fields are not used at runtime TNimKind = enum tyNone, @@ -73,7 +73,7 @@ type len: int sons: ptr array [0..0x7fff, ptr TNimNode] - TNimTypeFlag = enum + TNimTypeFlag = enum ntfNoRefs = 0, # type contains no tyRef, tySequence, tyString ntfAcyclic = 1, # type cannot form a cycle ntfEnumHole = 2 # enum has holes and thus `$` for them needs the slow @@ -88,5 +88,5 @@ type marker: proc (p: pointer, op: int) {.nimcall, benign.} # marker proc for GC deepcopy: proc (p: pointer): pointer {.nimcall, benign.} PNimType = ptr TNimType - + # node.len may be the ``first`` element of a set |