Skip to content

Commit

Permalink
Fix whitespace (#202)
Browse files Browse the repository at this point in the history
One part of this is just a whitespace no-op, but putting the \define
on its own line fixes some formatting in the PDF to properly indent the
item.
  • Loading branch information
llvm-beanz authored Apr 17, 2024
1 parent 35640cf commit 30ed84a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specs/language/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
\href{https://github.com/microsoft/hlsl-specs/blob/main/proposals/0007-const-instance-methods.md}
{HLSL Specs Proposal 0007} proposes adopting C++-like syntax and semantics for
\textit{cv-qualified} \keyword{this} references.}

\p A \keyword{this} expression shall not appear outside the declaration of a
non-static member function.

Expand Down Expand Up @@ -125,6 +125,7 @@
\begin{grammar}
\define{qualified-id}\br
nested-name-specifier \opt{\keyword{template}} unqualified-id\br

\define{nested-name-specifier}\br
\terminal{::}\br
type-name \terminal{::}\br
Expand Down

0 comments on commit 30ed84a

Please sign in to comment.