Tina Müller (tinita) 6e2fa9786a Emitter: Output space after an alias mapping key (#185)
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.
2020-06-01 11:55:55 +02:00
2017-11-30 07:14:27 -06:00
2020-04-19 13:15:10 +02:00
2020-05-29 21:39:56 +02:00
2020-04-19 13:15:10 +02:00
2020-04-19 13:15:10 +02:00
2020-04-19 13:15:10 +02:00
2020-04-19 13:15:10 +02:00
2020-04-11 19:08:22 +02:00
2020-04-19 13:15:10 +02:00
2020-04-11 19:08:22 +02:00
2017-11-30 07:14:27 -06:00

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.

S
Description
Automated archival mirror of github.com/yaml/libyaml
Readme 2.1 MiB
Languages
C 97.5%
CMake 0.9%
Makefile 0.6%
Dockerfile 0.5%
M4 0.4%
Other 0.1%