[bug] Parsing bugs in JSON.st

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

[bug] Parsing bugs in JSON.st

Robin Redeker-2
Issue status update for
http://smalltalk.gnu.org/node/94
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/94

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Bindings (other)
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   elmex
 Status:       patch

I've discovered that strings with whitespace are
not read correctly with JSON.st. The parser calls
the next method which gets the next token and not
the next character from the stream.

Here is a patch that will parse from the stream
directly than from self in nextJSONNumber and nextJSONString:

http://www.ta-sa.org/files/txt/ce61efc9a954ece8f4d5ff1256e38a1c.txt




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Parsing bugs in JSON.st

Paolo Bonzini
Issue status update for
http://smalltalk.gnu.org/project/issue/94
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/94

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Bindings (other)
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   bonzinip
-Status:       patch
+Status:       fixed

Fixed, thanks.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Parsing bugs in JSON.st

Paolo Bonzini
In reply to this post by Robin Redeker-2
Issue status update for
http://smalltalk.gnu.org/project/issue/94
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/94

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Bindings (other)
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   bonzinip
 Status:       fixed

Fixed, thanks.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk