The Trunk: ShoutCore-ul.45.mcz

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

The Trunk: ShoutCore-ul.45.mcz

commits-2
Levente Uzonyi uploaded a new version of ShoutCore to project The Trunk:
http://source.squeak.org/trunk/ShoutCore-ul.45.mcz

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

Name: ShoutCore-ul.45
Author: ul
Time: 5 April 2015, 11:12:34.743 pm
UUID: 782f17b3-a996-4680-bf4a-d112fc6f7882
Ancestors: ShoutCore-ul.44

- Avoid block creation in SHParserST80 >> #scanWhitespace.

=============== Diff against ShoutCore-ul.44 ===============

Item was changed:
  ----- Method: SHParserST80>>scanWhitespace (in category 'scan') -----
  scanWhitespace
 
  (self currentChar ifNil: [ ^self ]) isSeparator ifTrue: [
  sourcePosition := source
  indexOfAnyOf: CharacterSet nonSeparators
+ startingAt: sourcePosition + 1.
+ sourcePosition = 0 ifTrue: [ "Not found"
+ sourcePosition := source size + 1 ] ].
- startingAt: sourcePosition + 1
- ifAbsent: [ source size + 1 ] ].
  self currentChar == $" ifTrue: [ self scanComment ]!