The Trunk: XML-Parser-nice.24.mcz

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

The Trunk: XML-Parser-nice.24.mcz

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

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

Name: XML-Parser-nice.24
Author: nice
Time: 18 January 2010, 7:58:03.26 pm
UUID: fe1f66e0-acad-4e49-9b5d-ec6d74affd4c
Ancestors: XML-Parser-nice.23

move temp assignment outside block

=============== Diff against XML-Parser-nice.23 ===============

Item was changed:
  ----- Method: XMLTokenizer>>errorExpected: (in category 'errors') -----
  errorExpected: expectedString
  | actualString |
  actualString := ''.
  self atEnd
  ifFalse: [
+ actualString := [self next: 20]
- [actualString := self next: 20]
  on: Error
+ do: ['']].
- do: [:ex | ]].
  self parseError: 'XML expected ' , expectedString printString , ': ' , actualString!