[squeak-dev] The Trunk: Compiler-pre.441.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 20 08:19:15 UTC 2020


Patrick Rein uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-pre.441.mcz

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

Name: Compiler-pre.441
Author: pre
Time: 20 August 2020, 10:19:13.607828 am
UUID: 25de8b68-cea6-db46-9d6a-f400bd5f8b82
Ancestors: Compiler-eem.440

Fixes an issue with pragma parsing matching a string or symbol literal with an angle bracket as an opening pragma bracket and correspondingly a closing string or symbol literal as a closing pragma.

=============== Diff against Compiler-eem.440 ===============

Item was changed:
  ----- Method: Parser>>pragmaSequence (in category 'pragmas') -----
  pragmaSequence
  	"Parse a sequence of method pragmas."
  	
+ 	[	(hereType == #binary and: [self matchToken: #<])
- 	[
- 		(self matchToken: #<)
  			ifFalse: [ ^ self ].
  		self pragmaStatement.
+ 		(hereType == #binary and: [self matchToken: #>])
- 		(self matchToken: #>)
  			ifFalse: [ ^ self expected: '>' ] ] repeat!



More information about the Squeak-dev mailing list