src/Pure/Tools/update.scala
changeset 70868 bbb7d69f7a4d
parent 70864 e94fec16bf50
child 70876 91b311e7d040
equal deleted inserted replaced
70867:4c8e28dabbc4 70868:bbb7d69f7a4d
    20       Dump.Context(options, progress = progress, dirs = dirs, select_dirs = select_dirs,
    20       Dump.Context(options, progress = progress, dirs = dirs, select_dirs = select_dirs,
    21         selection = selection)
    21         selection = selection)
    22 
    22 
    23     context.build_logic(logic)
    23     context.build_logic(logic)
    24 
    24 
    25     val path_cartouches = context.session_options.bool("update_path_cartouches")
    25     val path_cartouches = context.options.bool("update_path_cartouches")
    26 
    26 
    27     def update_xml(xml: XML.Body): XML.Body =
    27     def update_xml(xml: XML.Body): XML.Body =
    28       xml flatMap {
    28       xml flatMap {
    29         case XML.Wrapped_Elem(markup, body1, body2) =>
    29         case XML.Wrapped_Elem(markup, body1, body2) =>
    30           if (markup.name == Markup.UPDATE) update_xml(body1) else update_xml(body2)
    30           if (markup.name == Markup.UPDATE) update_xml(body1) else update_xml(body2)