Skip to content

Conversation

@bishabosha
Copy link
Member

fixes #7440

Also patches the syntax document to account for numeric separators.

integerLiteral ::= (decimalNumeral | hexNumeral) [‘L’ | ‘l’]
decimalNumeral ::= ‘0’ | nonZeroDigit {digit}
hexNumeral ::= ‘0’ (‘x’ | ‘X’) hexDigit {hexDigit}
digit ::= ‘0’ | nonZeroDigit
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this digit is a duplicate definition

@bishabosha bishabosha requested a review from smarter October 21, 2019 11:46
@bishabosha bishabosha merged commit bc07eec into scala:master Oct 21, 2019
@bishabosha bishabosha deleted the fix_separators branch October 21, 2019 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correctly handle numeric separators with leading zeros

2 participants