maplefu0602 / spyc

Automatically exported from code.google.com/p/spyc
MIT License
0 stars 0 forks source link

Inline list with a comment is not recognized as a list #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I have a yaml file with:

root:
   child: [one, two, three] # comment

then Spyc gives me a string instead of array.
$data[root][child] = '[one, two, three]'

___
Spyc version: 0.4.5

Original issue reported on code.google.com by Andrei.F...@gmail.com on 11 Oct 2009 at 12:52

GoogleCodeExporter commented 8 years ago
This should already be fixed in the latest Spyc version from SVN. Please try it.

Original comment by vlad.and...@gmail.com on 31 May 2010 at 10:40