Commit ac0543fa authored by Jason Choy's avatar Jason Choy

oops, whitespace was not being discarded. fixed

parent 1bd4767c
......@@ -328,9 +328,8 @@ constexpr auto singleQuotedString = charsToString(sequence(
constexpr auto doubleQuotedHexBinary = sequence(
exactChar<'0'>(), exactChar<'x'>(), exactChar<'\"'>(),
oneOrMore(oneOf(
transform(sequence(hexDigit, hexDigit), _::ParseHexEscape()),
whitespaceChar)),
oneOrMore(transform(sequence(discardWhitespace, hexDigit, hexDigit), _::ParseHexEscape())),
discardWhitespace,
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