Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'one of' formulation for binary-digit #1891

Merged
merged 1 commit into from Jan 3, 2018

Conversation

AlisdairM
Copy link
Contributor

The grammar for literals consistently prefers using the 'one of' a set
formulation for character sets, rather than listing each character as
an option. This holds for other parts of this grammar, even when the
set of options is just two items, such as hexadecimal-prefix,
unsigned-suffix, or long-suffix.

As binary-digit is the odd one out, this simple update makes it
consistent with the rest of the grammar specifications in this
clause.

The grammar for literals consistently prefers using the 'one of' a set
formulation for character sets, rather than listing each character as
an option.  This holds for other parts of this grammar, even when the
set of options is just two items, such as hexadecimal-prefix,
unsigned-suffix, or long-suffix.

As binary-digit is the odd one out, this simple update makes it
consistent with the rest of the grammar specifications in this
clause.
@lichray
Copy link
Contributor

lichray commented Jan 2, 2018

+1

@zygoloid zygoloid merged commit 70bd5d8 into cplusplus:master Jan 3, 2018
@AlisdairM AlisdairM deleted the one_of_binary_digits branch January 3, 2018 20:03
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.

None yet

3 participants