Fixed null key/value bug, added tests

This commit is contained in:
Jesse Beder
2009-07-30 06:49:09 +00:00
parent 382f1ba3c7
commit 7a89920441
8 changed files with 87 additions and 16 deletions

View File

@@ -30,8 +30,7 @@ namespace YAML
TT_ANCHOR,
TT_ALIAS,
TT_TAG,
TT_SCALAR,
TT_NULL
TT_SCALAR
};
const std::string TokenNames[] = {
@@ -52,8 +51,7 @@ namespace YAML
"ANCHOR",
"ALIAS",
"TAG",
"SCALAR",
"NULL"
"SCALAR"
};
struct Token {