The Trunk: Compiler-ul.401.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compiler-ul.401.mcz

commits-2
Eliot Miranda uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-ul.401.mcz

==================== Summary ====================

Name: Compiler-ul.401
Author: ul
Time: 16 March 2019, 11:56:29.899053 pm
UUID: 395adc27-f48e-484c-9097-5197ea3a0155
Ancestors: Compiler-eem.400

- fixed typo

=============== Diff against Compiler-eem.400 ===============

Item was changed:
  ----- Method: ParseNodeWithPrecedingStatementEnumerator>>ofBlock: (in category 'initialize-release') -----
  ofBlock: aBlock
  "N.B. This enumerator visits a node before any of the node's children.
  Hence, when enumewrating statements in a block, we can ensure that
  the second argument to the block, the preceeding statement, is non-nil
  only for top-level statements in the block by nilling out preceedingStatement
  once the block is evaluated. Perhaps stronger would be to capture its value
  in a temporary and nil it before evaluating, but this is good enough."
  theBlock := [:node|
  aBlock value: node value: precedingStatement.
+ precedingStatement := nil]!
- preceedingStatement := nil]!