majintao0131 / yaml-cpp

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

Error when parsing simple keys that are quoted scalars #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Parse the document:

key: value
"other key": other value

2. It will throw a "end of map not found" exception on the "other key" symbol.

Original issue reported on code.google.com by jbe...@gmail.com on 25 Jul 2009 at 7:00

GoogleCodeExporter commented 9 years ago
We were eating the initial quote too early, so it thought the new key should be
starting at the 'o' character in "other key" (instead of at the initial quote).

Original comment by jbe...@gmail.com on 25 Jul 2009 at 7:01