The Trunk: Compiler-pre.441.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-pre.441.mcz

commits-2
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!