[Pkg] The Trunk: ShoutCore-ul.45.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 5 21:14:30 UTC 2015


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 ]!



More information about the Packages mailing list