You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A better solution would be not to use exceptions for flow control. Instead you could use lookahead() method on the chars stream to check for the EOI token, something along the line
int patch = EOI.isMatchedBy(chars.lookahead(1)) ? 0 : Integer.parseInt(numericIdentifier());
I did not check the specs, but in my application I must process partial version strings, like "1.2".
The current parser accepts only "1.2.0".
I patched the VersionParser.parseVersionCore() to:
but perhaps there are better solution.
The text was updated successfully, but these errors were encountered: