src/Pure/Thy/sessions.scala
changeset 62864 2d5959cf3c1a
parent 62769 146945b9e83c
child 62883 b04e9fe29223
--- a/src/Pure/Thy/sessions.scala	Mon Apr 04 23:58:48 2016 +0200
+++ b/src/Pure/Thy/sessions.scala	Tue Apr 05 14:58:24 2016 +0200
@@ -18,9 +18,6 @@
 {
   /* info */
 
-  val ROOT = Path.explode("ROOT")
-  val ROOTS = Path.explode("ROOTS")
-
   def is_pure(name: String): Boolean = name == "Pure"
 
   sealed case class Info(
@@ -141,6 +138,9 @@
 
   /* parser */
 
+  val ROOT = Path.explode("ROOT")
+  val ROOTS = Path.explode("ROOTS")
+
   private val CHAPTER = "chapter"
   private val SESSION = "session"
   private val IN = "in"
@@ -156,7 +156,7 @@
       (CHAPTER, Keyword.THY_DECL) + (SESSION, Keyword.THY_DECL) +
       IN + DESCRIPTION + OPTIONS + GLOBAL_THEORIES + THEORIES + FILES + DOCUMENT_FILES
 
-  object Parser extends Parse.Parser
+  private object Parser extends Parse.Parser
   {
     private abstract class Entry
     private sealed case class Chapter(name: String) extends Entry