src/Pure/General/scan.scala
changeset 60215 5fb4990dfc73
parent 59319 677615cba30d
child 63579 73939a9b70a3
--- a/src/Pure/General/scan.scala	Fri May 01 15:33:43 2015 +0200
+++ b/src/Pure/General/scan.scala	Sun May 03 00:01:10 2015 +0200
@@ -91,7 +91,7 @@
     private def quoted_body(quote: Symbol.Symbol): Parser[String] =
     {
       rep(many1(sym => sym != quote && sym != "\\") | "\\" + quote | "\\\\" |
-        (("""\\\d\d\d""".r) ^? { case x if x.substring(1, 4).toInt <= 255 => x })) ^^ (_.mkString)
+        ("""\\\d\d\d""".r ^? { case x if x.substring(1, 4).toInt <= 255 => x })) ^^ (_.mkString)
     }
 
     def quoted(quote: Symbol.Symbol): Parser[String] =
@@ -307,7 +307,7 @@
   {
     /* representation */
 
-    private sealed case class Tree(val branches: Map[Char, (String, Tree)])
+    private sealed case class Tree(branches: Map[Char, (String, Tree)])
     private val empty_tree = Tree(Map())
 
     val empty: Lexicon = new Lexicon(empty_tree)