diff --git a/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy b/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy index f4045db..7787c2a 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy @@ -234,7 +234,7 @@ A document class\<^bindex>\document class\ can be defined using the We call document classes with an \accepts_clause\ \<^emph>\monitor classes\ or \<^emph>\monitors\ for short. \<^rail>\ @@{command "doc_class"} class_id '=' (class_id '+')? (attribute_decl+) \ - (invariant_decl?) + (invariant_decl *) (accepts_clause rejects_clause?)?\ \<^item> \attribute_decl\:\<^index>\attribute\_decl@\attribute_decl\\ \<^rail>\ name '::' '"' type '"' default_clause? \ @@ -243,7 +243,7 @@ A document class\<^bindex>\document class\ can be defined using the records in HOL. Note that sufficient type information must be provided in order to disambiguate the argument of the expression and the \<^boxed_text>\\\ symbol is reserved to reference the instance of the class itself. - \<^rail>\ 'invariant' name '::' '"' term '"' + 'and' \ + \<^rail>\ 'invariant' (name '::' '"' term '"' + 'and') \ \<^item> \accepts_clause\:\<^index>\accepts\_clause@\accepts_clause\\ \<^rail>\ 'accepts' '"' regexpr '"'\ \<^item> \rejects_clause\:\<^index>\rejects\_clause@\rejects_clause\\