[#5955] Binary literal parsing fix

This commit is contained in:
lukaseder 2017-04-02 15:43:26 +02:00
parent 208d77a13c
commit 05c1e5e7cb

View File

@ -2190,6 +2190,8 @@ class ParserImpl implements Parser {
parseWhitespaceIf(ctx);
Field<?> field;
Object value;
switch (ctx.character()) {
case ':':
case '?':
@ -2517,8 +2519,8 @@ class ParserImpl implements Parser {
case 'x':
case 'X':
if (X.is(type))
if ((field = inline(parseBinaryLiteralIf(ctx))) != null)
return field;
if ((value = parseBinaryLiteralIf(ctx)) != null)
return inline((byte[]) value);
break;