Justin Bogner
64d2cdf4ec
Detect malformed YAML sequence in yaml::Input::beginSequence()
...
When reading a yaml::SequenceTraits object, YAMLIO does not report an
error if the yaml item is not a sequence. Instead, YAMLIO reads an
empty sequence. For example:
---
seq:
foo: 1
bar: 2
...
If `seq` is a SequenceTraits object, then reading the above yaml will
yield `seq` as an empty sequence.
Fix this to report an error for the above mapping ("not a sequence")
Patch by William Fisher. Thanks!
llvm-svn: 230976
2015-03-02 17:26:43 +00:00
..
2015-01-19 10:43:00 +00:00
2014-09-07 05:14:29 +00:00
2013-01-05 02:08:43 +00:00
2015-02-02 18:18:07 +00:00
2014-04-29 17:07:45 +00:00
2015-02-15 22:00:20 +00:00
2015-02-05 03:30:08 +00:00
2015-02-26 21:08:21 +00:00
2015-01-14 11:23:27 +00:00
2015-01-27 01:01:39 +00:00
2014-06-08 22:29:17 +00:00
2015-02-13 01:05:00 +00:00
2015-02-05 03:30:08 +00:00
2013-01-02 20:14:11 +00:00
2014-09-03 17:31:25 +00:00
2015-01-14 11:23:27 +00:00
2012-12-04 10:23:08 +00:00
2014-04-24 21:10:35 +00:00
2014-09-15 21:51:49 +00:00
2014-09-17 15:43:01 +00:00
2014-08-13 11:17:41 +00:00
2013-08-01 18:42:28 +00:00
2014-06-27 15:13:01 +00:00
2015-02-12 19:53:49 +00:00
2014-08-27 05:25:25 +00:00
2014-10-08 00:22:18 +00:00
2014-12-04 16:59:36 +00:00
2015-02-25 22:59:20 +00:00
2014-12-04 16:59:36 +00:00
2014-11-24 18:05:29 +00:00
2015-01-26 18:21:33 +00:00
2014-03-01 09:36:06 +00:00
2015-01-14 11:23:27 +00:00
2014-08-27 20:03:13 +00:00
2015-02-04 17:39:48 +00:00
2015-01-14 11:23:27 +00:00
2014-12-15 01:04:49 +00:00
2014-06-14 12:52:55 +00:00
2014-12-15 01:04:45 +00:00
2014-06-08 22:29:17 +00:00
2013-09-04 16:00:12 +00:00
2015-03-02 17:26:43 +00:00
2014-08-27 20:03:13 +00:00