This commit is contained in:
Jesse Beder
2008-07-31 19:41:11 +00:00
parent d45bb667b6
commit 813817f1ab
9 changed files with 37 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
#include "scanner.h"
#include "token.h"
#include "exceptions.h"
#include "node.h"
#include <sstream>
namespace YAML
@@ -37,6 +38,11 @@ namespace YAML
out << "\"\n";
}
CONTENT_TYPE Scalar::GetType() const
{
return CT_SCALAR;
}
void Scalar::Read(std::string& s)
{
s = m_data;