Skip to content

Commit

Permalink
Rephrase sentence with 'IDENTs'
Browse files Browse the repository at this point in the history
This seemed like a better fix than just changing to:
  \lstinline[language=grammar]!IDENT!s
  • Loading branch information
henrikt-ma committed Feb 10, 2021
1 parent d225428 commit 8fce63e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/syntax.tex
Expand Up @@ -38,9 +38,9 @@ \section{Lexical conventions}\label{lexical-conventions}
\end{lstlisting}
\lstinline[language=grammar]!S-CHAR! is any member of the Unicode character set (\url{http://www.unicode.org}; see \cref{mapping-package-class-structures-to-a-hierarchical-file-system} for storing as UTF-8 on files) except double-quote `"', and backslash `\textbackslash{}'.

For identifiers the redundant escapes (`\lstinline!\?!' and `\lstinline!\"!') are the same as the corresponding non-escaped
variants (`\lstinline!?!' and '\lstinline!"!'). The single quotes are part of an identifier. E.g.\ \lstinline!'x'! and
\lstinline!x! are different IDENTs.
For identifiers the redundant escapes (`\lstinline!\?!' and `\lstinline!\"!') are the same as the corresponding non-escaped variants (`\lstinline!?!' and '\lstinline!"!').
The single quotes are part of an identifier.
For example, the identifiers \lstinline!'x'! and \lstinline!x! are different.

Note:
\begin{itemize}
Expand Down

0 comments on commit 8fce63e

Please sign in to comment.