Closed GoogleCodeExporter closed 9 years ago
Original comment by micmath
on 25 Jun 2010 at 3:52
Original comment by micmath
on 25 Jun 2010 at 3:53
Patch for revision 841 to allow quotes around an object property. The way it
works is to make use of the existing qoute quotes string finding function and
then 'look' to see if the next character is a colon - if so then it must be a
property name, and is assigned as such (striped of the quote marks).
A small change has had to be made to the TextStream.look function to allow
consideration of whitespace. For example '"a" :...' and '"a":...' are both
perfectly valid. Furthermore a warning is generated if the object name as a
literal string includes a dot in it.
Original comment by allan.ja...@gmail.com
on 26 Jun 2010 at 2:12
Attachments:
Committed in revision 842. Thank you for contributing!
Original comment by micmath
on 27 Jun 2010 at 8:24
Original issue reported on code.google.com by
allan.ja...@gmail.com
on 25 Jun 2010 at 1:42