Skip to content

Commit

Permalink
Minor fixes, mostly typos (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
hekota authored Jun 7, 2024
1 parent bca0454 commit ead1885
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions specs/language/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
\item or a \textit{using-directive} (\ref{Decl}).
\end{itemize}

\p The two examples below is adapted from \gls{isoCPP} \textbf{[basic.def]}. All
\p The two examples below are adapted from \gls{isoCPP} \textbf{[basic.def]}. All
but one of the following are definitions:
\begin{HLSL}
int f(int x) { return x+1; } // defines f and x
Expand Down Expand Up @@ -146,7 +146,7 @@
% precision types should be intangible.

\p A class type \texttt{T} is an \textit{intangible class type} if it contains
an base classes or members of intangible class type, standard intangible type,
a base class or members of intangible class type, standard intangible type,
or arrays of such types. Standard intangible types and intangible class types
are collectively called \textit{intangible types}(\ref{Intangible}).

Expand Down
2 changes: 1 addition & 1 deletion specs/language/introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@

\SubSub{\gls{lane} States}{Intro.Model.Terms.LaneState}

\p \gls{lane}s may be in three primary states: \textit{active}, \textit{helper},
\p \gls{lane}s may be in four primary states: \textit{active}, \textit{helper},
\textit{inactive}, and \textit{predicated off}.

\p An \textit{active} \gls{lane} is enabled to perform computations and produce
Expand Down
4 changes: 2 additions & 2 deletions specs/language/lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@
\Sec{Comments}{Lex.Comments}

\p The characters \texttt{/*} start a comment which terminates with the
characters \texttt{*\textbackslash}. The characters \texttt{//} start a comment
characters \texttt{*/}. The characters \texttt{//} start a comment
which terminates at the next new line.

\Sec{Header Names}{Lex.Headers}

\begin{grammar}
\define{header-name}\br
\texttt{<} h-char-sequence \texttt{>}\br
\texttt{"} h-char-sequence \texttt{"}
\texttt{"} q-char-sequence \texttt{"}

\define{h-char-sequence}\br
h-char\br
Expand Down

0 comments on commit ead1885

Please sign in to comment.