Commit 1bd4767c authored by Jason Choy's avatar Jason Choy

Allowing whitespace in between octets

parent 3930e460
......@@ -328,7 +328,9 @@ constexpr auto singleQuotedString = charsToString(sequence(
constexpr auto doubleQuotedHexBinary = sequence(
exactChar<'0'>(), exactChar<'x'>(), exactChar<'\"'>(),
oneOrMore(transform(sequence(hexDigit, hexDigit), _::ParseHexEscape())),
oneOrMore(oneOf(
transform(sequence(hexDigit, hexDigit), _::ParseHexEscape()),
whitespaceChar)),
exactChar<'\"'>());
// Parses a double-quoted hex binary literal.
......
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