tuned diagram;
authorwenzelm
Wed, 01 Nov 2017 12:31:53 +0100
changeset 66971 43b2aac6053c
parent 66970 13857f49d215
child 66972 f65fc869e835
tuned diagram;
src/Doc/System/Sessions.thy
--- a/src/Doc/System/Sessions.thy	Wed Nov 01 12:28:20 2017 +0100
+++ b/src/Doc/System/Sessions.thy	Wed Nov 01 12:31:53 2017 +0100
@@ -52,12 +52,9 @@
     @{syntax_def session_chapter}: @'chapter' @{syntax name}
     ;
 
-    @{syntax_def session_entry}: @'session' spec '='
-      (@{syntax system_name} '+')? body
-    ;
-    body: description? options? (sessions?) (theories*) \<newline> (document_files*)
-    ;
-    spec: @{syntax system_name} groups? dir?
+    @{syntax_def session_entry}: @'session' @{syntax system_name} groups? dir? '=' \<newline>
+      (@{syntax system_name} '+')? description? options? \<newline>
+      (sessions?) (theories*) (document_files*)
     ;
     groups: '(' (@{syntax name} +) ')'
     ;