Fixed parsing ? when attached to a scalar

This commit is contained in:
beder 2012-11-08 19:11:41 -06:00
parent 365107947e
commit b201feab96

View File

@ -91,7 +91,7 @@ namespace YAML
return e;
}
inline const RegEx& Key() {
static const RegEx e = RegEx('?');
static const RegEx e = RegEx('?') + BlankOrBreak();
return e;
}
inline const RegEx& KeyInFlow() {