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

Typographic fixes, spacing after \opt #522

Merged
merged 1 commit into from Mar 7, 2016

Conversation

stbergmann
Copy link
Contributor

  • occurrences of "\opt \terminal{" apparently always require "\opt{}" to not eat
    the intervening space (despite the \xspace in the definition of \opt)

  • cleaned up two occurrences of "\opt\ " (in

    noptr-abstract-pack-declarator \terminal{[} constant-expression\opt\ \terminal{]} attribute-specifier-seq\opt\br

    in declarators.tex and grammar.tex) to consistenly use "\opt{}" instead

  • cleaned up two occurrences of "\opt{}" (in

    pp-tokens\opt{} new-line

    in grammar.tex and preprocessor.tex) that did not need the "{}"

@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 14, 2015

@stbergmann: Could you please rebase this?

* occurrences of "\opt \terminal{" apparently always require "\opt{}" to not eat
  the intervening space (despite the \xspace in the definition of \opt)

* cleaned up two occurrences of "\opt\ " (in

    noptr-abstract-pack-declarator \terminal{[} constant-expression\opt\ \terminal{]} attribute-specifier-seq\opt\br

  in declarators.tex and grammar.tex) to consistenly use "\opt{}" instead

* cleaned up two occurrences of "\opt{}" (in

    pp-tokens\opt{} new-line

  in grammar.tex and preprocessor.tex) that did not need the "{}"
@stbergmann
Copy link
Contributor Author

@tkoeppe, "git push -f"-ed the rebase onto stbergmann:space-after-opt now, hope that's the intended way to rebase this pull request.

@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 15, 2015

Yes, great, thanks. @zygoloid: Could you please take a look?

zygoloid added a commit that referenced this pull request Mar 7, 2016
[gram] Fix lack of space after [opt] in some grammar productions.
@zygoloid zygoloid merged commit a3e7883 into cplusplus:master Mar 7, 2016
@stbergmann stbergmann deleted the space-after-opt branch March 8, 2016 10:40
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