Skip to content

Commit

Permalink
https
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Dec 3, 2021
1 parent bf19cf7 commit 9f37582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapters/packages.tex
Expand Up @@ -208,7 +208,7 @@ \section{Mapping Package/Class Structures to a Hierarchical File System}\label{m
File in the file system.
\end{itemize}

Each Modelica file in the file-system is stored in UTF-8 format (defined by The Unicode Consortium; \url{http://unicode.org}). A deprecated feature is that the file may start with the UTF-8 encoded BOM (byte order mark; \lstinline!0xef 0xbb 0xbf!); this is treated as white-space in the grammar. Since the use of BOM is deprecated, tools can ignore any BOM when reading, and it is recommended to never write it.
Each Modelica file in the file-system is stored in UTF-8 format (defined by The Unicode Consortium; \url{https://unicode.org}). A deprecated feature is that the file may start with the UTF-8 encoded BOM (byte order mark; \lstinline!0xef 0xbb 0xbf!); this is treated as white-space in the grammar. Since the use of BOM is deprecated, tools can ignore any BOM when reading, and it is recommended to never write it.

\begin{nonnormative}
Tools may also store classes in data-base systems, but that is not standardized.
Expand Down
2 changes: 1 addition & 1 deletion chapters/syntax.tex
Expand Up @@ -38,7 +38,7 @@ \section{Lexical conventions}\label{lexical-conventions}
( "e" | "E" ) [ "+" | "-" ] UNSIGNED-INTEGER
| "." UNSIGNED-INTEGER [ ( "e" | "E" ) [ "+" | "-" ] UNSIGNED-INTEGER ]
\end{lstlisting}
\lstinline[language=grammar]!S-CHAR! is any member of the Unicode character set (\url{http://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{}'.
\lstinline[language=grammar]!S-CHAR! is any member of the Unicode character set (\url{https://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.
Expand Down

0 comments on commit 9f37582

Please sign in to comment.