compiler/PPCMethod.st
changeset 468 3cbcf5839693
parent 465 f729f6cd3c76
child 477 b18b6cc7aabc
--- a/compiler/PPCMethod.st	Thu May 21 15:35:26 2015 +0100
+++ b/compiler/PPCMethod.st	Thu May 21 15:49:26 2015 +0100
@@ -70,8 +70,14 @@
 
 add: string
     self nl.
-    indentation timesRepeat: [ buffer nextPut: Character tab  ].
+    ((Smalltalk respondsTo:#isSmalltalkX) and:[ Smalltalk isSmalltalkX ]) ifTrue:[ 
+        indentation * 4 timesRepeat: [ buffer nextPut: Character space  ].
+    ] ifFalse:[ 
+        indentation timesRepeat: [ buffer nextPut: Character tab  ].
+    ].
     self addOnLine: string.
+
+    "Modified: / 21-05-2015 / 15:42:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 addOnLine: string