Commit 8c517bf0 authored by Jesse Beder's avatar Jesse Beder
Browse files

Fixed parsing ? when attached to a scalar

parent 15b60e2a
...@@ -91,7 +91,7 @@ namespace YAML ...@@ -91,7 +91,7 @@ namespace YAML
return e; return e;
} }
inline const RegEx& Key() { inline const RegEx& Key() {
static const RegEx e = RegEx('?'); static const RegEx e = RegEx('?') + BlankOrBreak();
return e; return e;
} }
inline const RegEx& KeyInFlow() { inline const RegEx& KeyInFlow() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment