src/Pure/Tools/update_cartouches.scala
changeset 73340 0ffcad1f6130
parent 72763 3cc73d00553c
child 74887 56247fdb8bbb
equal deleted inserted replaced
73339:9efdebe24c65 73340:0ffcad1f6130
    35         if (ants == ants1) content else ants1.map(_.source).mkString
    35         if (ants == ants1) content else ants1.map(_.source).mkString
    36       case None => content
    36       case None => content
    37     }
    37     }
    38   }
    38   }
    39 
    39 
    40   def update_cartouches(replace_text: Boolean, path: Path)
    40   def update_cartouches(replace_text: Boolean, path: Path): Unit =
    41   {
    41   {
    42     val text0 = File.read(path)
    42     val text0 = File.read(path)
    43 
    43 
    44     // outer syntax cartouches
    44     // outer syntax cartouches
    45     val text1 =
    45     val text1 =