mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Rewrote the output so that it emits correct YAML.
Fixed a bug in the last newline of a block folded scalar.
This commit is contained in:
2
scalar.h
2
scalar.h
@@ -12,7 +12,7 @@ namespace YAML
|
||||
virtual ~Scalar();
|
||||
|
||||
virtual void Parse(Scanner *pScanner, const ParserState& state);
|
||||
virtual void Write(std::ostream& out, int indent);
|
||||
virtual void Write(std::ostream& out, int indent, bool startedLine, bool onlyOneCharOnLine);
|
||||
|
||||
// extraction
|
||||
virtual void Read(std::string& s);
|
||||
|
Reference in New Issue
Block a user