proper parse (amending dd86d35375a7);
authorFabian Huch <huch@in.tum.de>
Wed, 10 Jul 2024 17:31:17 +0200
changeset 80546 d507229c5771
parent 80545 17786f08b93e
child 80547 819402eeac34
proper parse (amending dd86d35375a7);
src/Pure/Build/build_manager.scala
--- a/src/Pure/Build/build_manager.scala	Wed Jul 10 17:04:44 2024 +0200
+++ b/src/Pure/Build/build_manager.scala	Wed Jul 10 17:31:17 2024 +0200
@@ -17,6 +17,7 @@
   object Component {
     def parse(s: String): Component =
       space_explode('/', s) match {
+        case name :: Nil => Component(name)
         case name :: rev :: Nil => Component(name, rev)
         case _ => error("Malformed component: " + quote(s))
       }