Added support for emitting and represeting null

This commit is contained in:
Jesse Beder
2009-07-30 04:42:27 +00:00
parent 72919adf55
commit ae41e58ca3
10 changed files with 576 additions and 514 deletions

View File

@@ -10,6 +10,7 @@
#include "aliascontent.h"
#include "iterpriv.h"
#include "emitter.h"
#include <stdexcept>
namespace YAML
{
@@ -85,6 +86,9 @@ namespace YAML
m_pContent = new Map;
break;
default:
// std::stringstream str;
// str << TokenNames[pScanner->peek().type];
// throw std::runtime_error(str.str());
break;
}