Portability: override #new for PPCScannerCodeGenerator.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 17 Aug 2015 13:39:38 +0100
changeset 517 9a7fa841f12e
parent 516 3b81c9e53352
child 518 a6d8b93441b0
Portability: override #new for PPCScannerCodeGenerator. Not all smalltalks send #initialize by default.
compiler/PPCScannerCodeGenerator.st
--- a/compiler/PPCScannerCodeGenerator.st	Mon Aug 17 12:56:02 2015 +0100
+++ b/compiler/PPCScannerCodeGenerator.st	Mon Aug 17 13:39:38 2015 +0100
@@ -10,6 +10,15 @@
 	category:'PetitCompiler-Scanner'
 !
 
+
+!PPCScannerCodeGenerator class methodsFor:'instance creation'!
+
+new
+    "return an initialized instance"
+
+    ^ self basicNew initialize.
+! !
+
 !PPCScannerCodeGenerator methodsFor:'accessing'!
 
 arguments
@@ -382,3 +391,10 @@
     fsaCache := IdentityDictionary new.
 ! !
 
+!PPCScannerCodeGenerator class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !
+