certik / yaml-cpp

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

error parsing a simple yaml file. #263

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make a simple c++ file:

#include <yaml-cpp/yaml.h>

int main()
{
YAML::Node test = YAML::LoadFile("test.yml");
td::cout << "[YAML]: " << test["Lua"];

2. test.yml
containg just 1 line:
Lua: "test.lua"

3. output is with some other symbols

What is the expected output? What do you see instead?
expected: test.lua  
see: !<!> test.lua

What version of the product are you using? On what operating system?
0.5.1 from ubuntu package manager

Please provide any additional information below.

Original issue reported on code.google.com by raffaell...@gmail.com on 7 Nov 2014 at 6:12

GoogleCodeExporter commented 9 years ago
Yeah, this is annoying, sorry.

Original comment by jbe...@gmail.com on 24 Dec 2014 at 6:41