[squeak-dev] The Trunk: Compiler-mha.77.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 3 12:49:52 UTC 2009


Michael Haupt uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-mha.77.mcz

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

Name: Compiler-mha.77
Author: mha
Time: 3 September 2009, 2:49:48 am
UUID: 111b37ed-654c-45a3-a38a-46022d8618e0
Ancestors: Compiler-mha.76

removed obsolete method Parser >> #pragmaLiteral (replaced by #pragmaLiteral: in Compiler-mha.76)

=============== Diff against Compiler-mha.76 ===============

Item was removed:
- ----- Method: Parser>>pragmaLiteral (in category 'pragmas') -----
- pragmaLiteral
- 	"Read a pragma literal."
- 
- 	(hereType == #string or: [ hereType == #literal or: [ hereType == #number ] ])
- 		ifTrue: [ ^ self advance ].
- 	(here == $# and: [ tokenType == #word ])
- 		ifTrue: [ ^ self advance ].
- 	(here == #- and: [ tokenType == #number ])
- 		ifTrue: [ ^ (self advance; advance) negated ].
- 	(here = 'true' or: [ here = 'false' or: [ here = 'nil' ] ])
- 		ifTrue: [ ^ Compiler evaluate: self advance ].
- 	^ self expected: 'Literal constant'!




More information about the Squeak-dev mailing list