From e454a5e9de2a8a29b1d8a6a20fa87240aec38128 Mon Sep 17 00:00:00 2001 From: Göran Krampe Date: Fri, 13 Mar 2015 09:48:28 +0100 Subject: [PATCH] SmallTalk changed to Smalltalk :) --- src/squeaknim.nim | 6 +++--- tests/Test1.nim | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/squeaknim.nim b/src/squeaknim.nim index c9ecabd..271a963 100644 --- a/src/squeaknim.nim +++ b/src/squeaknim.nim @@ -88,8 +88,8 @@ template writeExternalLibrary*() = "!$1 class methodsFor: 'primitives' stamp: 'SqueakNim'!\C", gPrefix & capitalize(dllName), capitalize(dllName)) -template writeSmallTalkCode*(filename: string) = - ## You need to invoke this template to write the produced SmallTalk code to +template writeSmalltalkCode*(filename: string) = + ## You need to invoke this template to write the produced Smalltalk code to ## a file. static: writeFile(filename, stCode) @@ -174,7 +174,7 @@ macro exportSt*(body: stmt): stmt = stCode.add(st & "\C\t\"Generated by NimSqueak\"\C\t" & apicall) macro wrapObject*(typ: stmt; wrapFields=false): stmt = - ## Declares a SmallTalk wrapper class. + ## Declares a Smalltalk wrapper class. var t = typ.getType() if t.typeKind == ntyTypeDesc: expectKind t, nnkBracketExpr diff --git a/tests/Test1.nim b/tests/Test1.nim index 71e7a71..76dcf7b 100644 --- a/tests/Test1.nim +++ b/tests/Test1.nim @@ -29,4 +29,4 @@ proc foo*(a, b: Vector3, c: int): cstring {.exportSt.} = result = "x plus y plus c " & $(a.x + b.y + c.float) # Write the Smalltalk code to file -writeSmallTalkCode("Test1.st") +writeSmalltalkCode("Test1.st") -- libgit2 0.22.2