]> andersk Git - libyaml.git/commit
Allow colons in plain scalars inside flow collections
authorTina Müller <cpan2@tinita.de>
Fri, 2 Feb 2018 19:59:05 +0000 (20:59 +0100)
committerIngy döt Net <ingy@ingy.net>
Sat, 30 Jun 2018 22:12:39 +0000 (15:12 -0700)
commit20496ee288fc0cbb9416a328f39379f69a5667da
treec3e99169db3011469bdfa56c327f5819931ca19f
parent31bb2aaa34899b06f5c3666c4c9cbe44117203e5
Allow colons in plain scalars inside flow collections

This is a followup to #28

See http://yaml.org/spec/1.1/#nb-plain-char(c) and the following
productions.

This commit will allow `[http://example]`, but still fail for:
- `[:foo]`
- `[foo:]`

See https://gist.github.com/perlpunk/de2c631a7b0e9002de351a680eadb573
for all the relevant cases where this change applies.
src/scanner.c
This page took 0.034651 seconds and 5 git commands to generate.