Commit e454a5e9de2a8a29b1d8a6a20fa87240aec38128
1 parent
0f2cdcd2
SmallTalk changed to Smalltalk :)
Showing
2 changed files
with
4 additions
and
4 deletions
src/squeaknim.nim
| ... | ... | @@ -88,8 +88,8 @@ template writeExternalLibrary*() = |
| 88 | 88 | "!$1 class methodsFor: 'primitives' stamp: 'SqueakNim'!\C", |
| 89 | 89 | gPrefix & capitalize(dllName), capitalize(dllName)) |
| 90 | 90 | |
| 91 | -template writeSmallTalkCode*(filename: string) = | |
| 92 | - ## You need to invoke this template to write the produced SmallTalk code to | |
| 91 | +template writeSmalltalkCode*(filename: string) = | |
| 92 | + ## You need to invoke this template to write the produced Smalltalk code to | |
| 93 | 93 | ## a file. |
| 94 | 94 | static: |
| 95 | 95 | writeFile(filename, stCode) |
| ... | ... | @@ -174,7 +174,7 @@ macro exportSt*(body: stmt): stmt = |
| 174 | 174 | stCode.add(st & "\C\t\"Generated by NimSqueak\"\C\t" & apicall) |
| 175 | 175 | |
| 176 | 176 | macro wrapObject*(typ: stmt; wrapFields=false): stmt = |
| 177 | - ## Declares a SmallTalk wrapper class. | |
| 177 | + ## Declares a Smalltalk wrapper class. | |
| 178 | 178 | var t = typ.getType() |
| 179 | 179 | if t.typeKind == ntyTypeDesc: |
| 180 | 180 | expectKind t, nnkBracketExpr | ... | ... |
tests/Test1.nim