[squeak-dev] The Trunk: Compiler-ul.177.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Oct 28 01:38:17 UTC 2010


Levente Uzonyi uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-ul.177.mcz

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

Name: Compiler-ul.177
Author: ul
Time: 28 October 2010, 12:44:19.763 am
UUID: 4e157cbb-4abd-4649-aeef-0213fdfe1399
Ancestors: Compiler-ul.176

- renamed #prefAllowUnderscoreAssignments to #allowUnderscoreAsAssignment for compatibility AST (and OB)

=============== Diff against Compiler-ul.176 ===============

Item was added:
+ ----- Method: Scanner class>>allowUnderscoreAsAssignment (in category 'preferences') -----
+ allowUnderscoreAsAssignment
+ 	"Accessor for the system-wide preference"
+ 	<preference: 'Allow underscore assignments'
+ 		category: 'Compiler'
+ 		description: 'When true, underscore can be used as assignment operator'
+ 		type: #Boolean>
+ 	^AllowUnderscoreAssignments ifNil:[true]!

Item was added:
+ ----- Method: Scanner class>>allowUnderscoreAsAssignment: (in category 'preferences') -----
+ allowUnderscoreAsAssignment: aBool
+ 	"Accessor for the system-wide preference"
+ 	AllowUnderscoreAssignments := aBool!

Item was changed:
  ----- Method: Scanner class>>prefAllowUnderscoreAssignments (in category 'preferences') -----
  prefAllowUnderscoreAssignments
  	"Accessor for the system-wide preference"
+ 	
+ 	self deprecated: 'Use #allowUnderscoreAsAssignment'.
+ 	^self allowUnderscoreAsAssignment!
- 	<preference: 'Allow underscore assignments'
- 		category: 'Compiler'
- 		description: 'When true, underscore can be used as assignment operator'
- 		type: #Boolean>
- 	^AllowUnderscoreAssignments ifNil:[true]!

Item was changed:
  ----- Method: Scanner class>>prefAllowUnderscoreAssignments: (in category 'preferences') -----
  prefAllowUnderscoreAssignments: aBool
  	"Accessor for the system-wide preference"
+ 	
+ 	self deprecated: 'Use #allowUnderscoreAsAssignment:'.
+ 	self allowUnderscoreAsAssignment: aBool!
- 	AllowUnderscoreAssignments := aBool!

Item was changed:
  ----- Method: Scanner>>allowUnderscoreAssignments (in category 'private') -----
  allowUnderscoreAssignments
  	"Query preference"
+ 	^self class allowUnderscoreAsAssignment!
- 	^self class prefAllowUnderscoreAssignments!




More information about the Squeak-dev mailing list