Fixed empty scalar in sequence bug

This commit is contained in:
Jesse Beder
2009-07-30 05:54:40 +00:00
parent ae41e58ca3
commit 382f1ba3c7
3 changed files with 14 additions and 3 deletions

View File

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