diff options
author | reactormonk <hafnersimon@gmail.com> | 2016-02-29 12:59:05 +0100 |
---|---|---|
committer | reactormonk <hafnersimon@gmail.com> | 2016-02-29 12:59:05 +0100 |
commit | ba16d423e0d0f95851a032f7d5705c244d8f6604 (patch) | |
tree | ef91d7dd981d91b4632cc1c9a0069d28a75464ce /compiler | |
parent | bd95bf58bfab31034db346d946e8e3b6bb5d19cc (diff) | |
parent | d9cb85c2d81a447130307d0004b0ef515f3ff241 (diff) | |
download | Nim-ba16d423e0d0f95851a032f7d5705c244d8f6604.tar.gz |
Merge pull request #3913 from FedericoCeratto/devel
Spellcheck
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ast.nim | 2 | ||||
-rw-r--r-- | compiler/canonicalizer.nim | 2 | ||||
-rw-r--r-- | compiler/sem.nim | 2 | ||||
-rw-r--r-- | compiler/transf.nim | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index 5c2349daa..fecbefd7e 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -463,7 +463,7 @@ type tfNotNil, # type cannot be 'nil' tfNeedsInit, # type constains a "not nil" constraint somewhere or some - # other type so that it requires initalization + # other type so that it requires initialization tfVarIsPtr, # 'var' type is translated like 'ptr' even in C++ mode tfHasMeta, # type contains "wildcard" sub-types such as generic params # or other type classes diff --git a/compiler/canonicalizer.nim b/compiler/canonicalizer.nim index 85dbe7536..089bce302 100644 --- a/compiler/canonicalizer.nim +++ b/compiler/canonicalizer.nim @@ -275,7 +275,7 @@ proc encodeType(w: PRodWriter, t: PType, result: var string) = return # we need no surrounding [] here because the type is in a line of its own if t.kind == tyForward: internalError("encodeType: tyForward") - # for the new rodfile viewer we use a preceeding [ so that the data section + # for the new rodfile viewer we use a preceding [ so that the data section # can easily be disambiguated: add(result, '[') encodeVInt(ord(t.kind), result) diff --git a/compiler/sem.nim b/compiler/sem.nim index cddd763ce..e09d49f88 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -191,7 +191,7 @@ proc newSymG*(kind: TSymKind, n: PNode, c: PContext): PSym = proc semIdentVis(c: PContext, kind: TSymKind, n: PNode, allowed: TSymFlags): PSym - # identifier with visability + # identifier with visibility proc semIdentWithPragma(c: PContext, kind: TSymKind, n: PNode, allowed: TSymFlags): PSym proc semStmtScope(c: PContext, n: PNode): PNode diff --git a/compiler/transf.nim b/compiler/transf.nim index b2bbdcec3..a4a15ea4a 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -12,7 +12,7 @@ # # * inlines iterators # * inlines constants -# * performes constant folding +# * performs constant folding # * converts "continue" to "break"; disambiguates "break" # * introduces method dispatchers # * performs lambda lifting for closure support |