equal
deleted
inserted
replaced
114 |
114 |
115 outerBlock := buffer. |
115 outerBlock := buffer. |
116 innerBlock := PPCCodeBlock new. |
116 innerBlock := PPCCodeBlock new. |
117 innerBlock indentationLevel: outerBlock indentationLevel + 1. |
117 innerBlock indentationLevel: outerBlock indentationLevel + 1. |
118 [ |
118 [ |
119 buffer addOnLine:'['. |
119 buffer addOnLine:'['; nl; codeIndent. |
120 buffer := innerBlock. |
120 buffer := innerBlock. |
121 self code: contents. |
121 self code: contents. |
122 ] ensure:[ |
122 ] ensure:[ |
123 buffer := outerBlock. |
123 buffer := outerBlock. |
124 buffer |
124 buffer |
128 |
128 |
129 buffer addOnLine:']'. |
129 buffer addOnLine:']'. |
130 ] |
130 ] |
131 |
131 |
132 "Created: / 01-06-2015 / 22:33:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
132 "Created: / 01-06-2015 / 22:33:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
133 "Modified: / 03-06-2015 / 06:11:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
133 ! ! |
134 ! ! |
134 |
135 |
135 !PPCMethod methodsFor:'code generation - indenting'! |
136 !PPCMethod methodsFor:'code generation - indenting'! |
136 |
137 |
137 dedent |
138 dedent |