On 15.03.2010, at 09:10, Lukas Renggli wrote:
Do you have
any ideas how to treat this case? I'm not sure if converting at the appropriate
locations is feasible.
It is probably the easiest if you replace all the $, with $. before
you pass it on to #readFrom:
Do you think it is feasible to change
MAStringReader>>visitNumberDescription:
from
(contents occurrencesOf: $.) > 1
ifTrue: [ MAReadError signal ].
to
(contents occurrencesOf: aDescription decimalPoint) > 1
ifTrue: [ MAReadError signal ].
(contents occurrencesOf: aDescription decimalPoint) = 1
ifTrue: [ contents := contents copyReplaceAll: aDescription decimalPoint with:
'.' ].
?
Norbert