Re: [Pharo-users] Finding error in STON string

2015-07-05 Thread Sven Van Caekenberghe
> On 05 Jul 2015, at 14:19, Peter Uhnák wrote: > > Would be possible for STON to report context for error? > For example > > STON fromString: '[ > "first", > "second", > ]' > > reports "At character 23: invalid input" which is not very useful especially > in longer strings. > (at:

[Pharo-users] Finding error in STON string

2015-07-05 Thread Peter Uhnák
Would be possible for STON to report context for error? For example STON fromString: '[ "first", "second", ]' reports "At character 23: invalid input" which is not very useful especially in longer strings. (at: 23 is actually Character cr) Maybe better would be something like 'At character 23: