The Trunk: Kernel-nice.405.mcz

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

The Trunk: Kernel-nice.405.mcz

commits-2
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.405.mcz

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

Name: Kernel-nice.405
Author: nice
Time: 23 February 2010, 3:22:30.592 pm
UUID: f3db6507-5501-8b41-a85a-1d9f34e759c3
Ancestors: Kernel-nice.404

Oops, correct my very recent bug for + sign hook

=============== Diff against Kernel-nice.404 ===============

Item was changed:
  ----- Method: NumberParser>>nextIntegerBase:ifFail: (in category 'parsing-public') -----
  nextIntegerBase: aRadix ifFail: aBlock
  "Form an integer with optional sign and following digits from sourceStream."
 
  | isNeg value |
+ isNeg := self peekSignIsMinus.
- isNeg := sourceStream peekSignIsMinus.
  value := self nextUnsignedIntegerOrNilBase: aRadix.
  value isNil ifTrue: [^aBlock value].
  ^isNeg
  ifTrue: [value negated]
  ifFalse: [value]!