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
[dcl.decl, temp.deduct.type] Fix inappropriate uses of \grammarterm. #1692
Conversation
source/declarators.tex
Outdated
@@ -2105,16 +2105,16 @@ | |||
|
|||
\pnum | |||
In the \grammarterm{function-body}, a | |||
\grammarterm{function-local predefined variable} denotes a block-scope object of static | |||
\techterm{function-local predefined variable} denotes a block-scope object of static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like \defn
would be a better choice here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would you feel about \defnx{function-local predefined variable}{variable!function-local predefined}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me.
source/declarators.tex
Outdated
@@ -2139,7 +2139,7 @@ | |||
\grammarterm{function-body} | |||
is of the form | |||
\tcode{= default ;} | |||
is called an \grammarterm{explicitly-defaulted} definition. | |||
is called an \techterm{explicitly-defaulted} definition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to \defnx{explicitly-defaulted}{definition!function!explicitly-defaulted}
, and remove the \indextext
above.
Rebased and amended. |
No visible change.