mirror of
https://github.com/yaml/libyaml
synced 2026-06-08 18:28:36 +00:00
6e2fa9786ae20b670e77a72f1271d7574bc89f0f
Before:
a: &b x
*b: c
Now:
a: &b x
*b : c
Passing tests:
* 26DV: Whitespace around colon in mappings
* E76Z: Aliases in Implicit Block Mapping
* X38W: Aliases in Flow Objects
Test manually because `make test-suite` will overwrite changes in the skiplist:
./tests/run-parser-test-suite tests/run-test-suite/data/26DV/in.yaml | ./tests/run-emitter-test-suite
./tests/run-parser-test-suite tests/run-test-suite/data/E76Z/in.yaml | ./tests/run-emitter-test-suite
./tests/run-parser-test-suite tests/run-test-suite/data/X38W/in.yaml | ./tests/run-emitter-test-suite
Or edit tests/run-test-suite/test/blacklist/libyaml-emitter and do:
(cd tests/run-test-suite; prove -lv test)
Also I added some newlines to yaml.h to help identifying states by number.
LibYAML - A C library for parsing and emitting YAML.
To build and install the library, run:
$ ./configure
$ make
# make install
Required packages:
- gcc
- libtool
- make
If you checked the source code from the Git repository, run
$ ./bootstrap
$ ./configure
$ make
# make install
Required packages:
- autoconf
- libtool
- make
For more information, check the LibYAML homepage.
Discuss LibYAML with the maintainers in IRC #libyaml irc.freenode.net.
You may also use the YAML-Core mailing list.
Submit bug reports and feature requests to the LibYAML bug tracker.
This project was developed for Python Software Foundation as a part of Google Summer of Code under the mentorship of Clark Evans.
The LibYAML module was written by Kirill Simonov xi@resolvent.net. It is currently maintained by the YAML community.
LibYAML is released under the MIT license. See the file LICENSE for more details.
Description
Languages
C
97.5%
CMake
0.9%
Makefile
0.6%
Dockerfile
0.5%
M4
0.4%
Other
0.1%