Corrections to locale syntax.
--- a/doc-src/Locales/Locales/Examples3.thy Fri Mar 27 23:43:48 2009 +0100
+++ b/doc-src/Locales/Locales/Examples3.thy Sat Mar 28 00:11:02 2009 +0100
@@ -465,7 +465,7 @@
& \textit{name} $|$ \textit{attribute} $|$
\textit{name} \textit{attribute} \\
\textit{qualifier} & ::=
- & \textit{name} [``\textbf{!}''] \\[2ex]
+ & \textit{name} [``\textbf{?}'' $|$ ``\textbf{!}''] \\[2ex]
\multicolumn{3}{l}{Context Elements} \\
@@ -511,7 +511,7 @@
& \textbf{where} \textit{name} ``\textbf{=}'' \textit{term}
( \textbf{and} \textit{name} ``\textbf{=}'' \textit{term} )$^*$ \\
\textit{instance} & ::=
- & [ \textit{qualifier} \textbf{:} ]
+ & [ \textit{qualifier} ``\textbf{:}'' ]
\textit{qualified-name} ( \textit{pos-insts} $|$ \textit{named-inst} ) \\
\textit{expression} & ::=
& \textit{instance} ( ``\textbf{+}'' \textit{instance} )$^*$
--- a/doc-src/Locales/Locales/document/Examples3.tex Fri Mar 27 23:43:48 2009 +0100
+++ b/doc-src/Locales/Locales/document/Examples3.tex Sat Mar 28 00:11:02 2009 +0100
@@ -748,7 +748,7 @@
& \textit{name} $|$ \textit{attribute} $|$
\textit{name} \textit{attribute} \\
\textit{qualifier} & ::=
- & \textit{name} [``\textbf{!}''] \\[2ex]
+ & \textit{name} [``\textbf{?}'' $|$ ``\textbf{!}''] \\[2ex]
\multicolumn{3}{l}{Context Elements} \\
@@ -794,7 +794,7 @@
& \textbf{where} \textit{name} ``\textbf{=}'' \textit{term}
( \textbf{and} \textit{name} ``\textbf{=}'' \textit{term} )$^*$ \\
\textit{instance} & ::=
- & [ \textit{qualifier} \textbf{:} ]
+ & [ \textit{qualifier} ``\textbf{:}'' ]
\textit{qualified-name} ( \textit{pos-insts} $|$ \textit{named-inst} ) \\
\textit{expression} & ::=
& \textit{instance} ( ``\textbf{+}'' \textit{instance} )$^*$