Question on yaml syntax
"Wong, Shin Guey" <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <E6A6C14365B82F4DBEE2A141ECF51DE124FE12275D@pgsmsx503.gar.corp.intel.com> |
Hi all,
Previously I am using pysyck to parse the yaml file. But when I tried to use the latest pyYAML, it failed to parse.
The failing block is like this:
----------------------------------
- { name: foo, def: 0x0, desc: |
Foo desc
Long foo description
}
----------------------------------
It failed on the "desc: |", where "|" is not a valid token.
So, whether the block above is a valid yaml syntax or pyYAML not able to parse the block above? However, pysyck is working fine for my yaml file.
Regards,
Shin Guey
------------------------------------------------------------------------------