Corrections to locale syntax.
authorballarin
Sat, 28 Mar 2009 00:11:02 +0100
changeset 30751 36a255c2e428
parent 30750 3779e2158dad
child 30752 5272864d6892
Corrections to locale syntax.
doc-src/Locales/Locales/Examples3.thy
doc-src/Locales/Locales/document/Examples3.tex
--- 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} )$^*$