Fix a couple of errorprone issues
This commit is contained in:
parent
9ca85b4cf3
commit
22cd9d8641
|
@ -364,6 +364,7 @@ public class JsonTrackingParser {
|
||||||
break;
|
break;
|
||||||
case Eof :
|
case Eof :
|
||||||
throw lexer.error("Unexpected End of File");
|
throw lexer.error("Unexpected End of File");
|
||||||
|
case End:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -407,6 +408,8 @@ public class JsonTrackingParser {
|
||||||
break;
|
break;
|
||||||
case Eof :
|
case Eof :
|
||||||
throw lexer.error("Unexpected End of File");
|
throw lexer.error("Unexpected End of File");
|
||||||
|
case Boolean:
|
||||||
|
case End:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue