allow "." in message name;
authorwenzelm
Mon, 12 Mar 2018 11:37:30 +0100
changeset 67838 3a6ab890832f
parent 67837 932d01332c6c
child 67839 0c2ed45ece20
allow "." in message name;
src/Pure/Tools/server.scala
--- a/src/Pure/Tools/server.scala	Mon Mar 12 11:31:39 2018 +0100
+++ b/src/Pure/Tools/server.scala	Mon Mar 12 11:37:30 2018 +0100
@@ -32,7 +32,8 @@
   {
     def split(msg: String): (String, String) =
     {
-      val name = msg.takeWhile(c => Symbol.is_ascii_letter(c) || Symbol.is_ascii_letdig(c))
+      val name =
+        msg.takeWhile(c => Symbol.is_ascii_letter(c) || Symbol.is_ascii_letdig(c) || c == '.')
       val argument = msg.substring(name.length).dropWhile(Symbol.is_ascii_blank(_))
       (name, argument)
     }