src/Pure/Tools/build.ML
changeset 65517 1544e61e5314
parent 65478 7c40477e0a87
child 65532 febfd9f78bd4
equal deleted inserted replaced
65513:587433a18053 65517:1544e61e5314
   151   known_theories: (string * string) list};
   151   known_theories: (string * string) list};
   152 
   152 
   153 fun decode_args yxml =
   153 fun decode_args yxml =
   154   let
   154   let
   155     open XML.Decode;
   155     open XML.Decode;
       
   156     val position = Position.of_properties o properties;
   156     val (symbol_codes, (command_timings, (do_output, (verbose, (browser_info,
   157     val (symbol_codes, (command_timings, (do_output, (verbose, (browser_info,
   157       (document_files, (graph_file, (parent_name, (chapter, (name, (master_dir,
   158       (document_files, (graph_file, (parent_name, (chapter, (name, (master_dir,
   158       (theories, (global_theories, (loaded_theories, known_theories)))))))))))))) =
   159       (theories, (global_theories, (loaded_theories, known_theories)))))))))))))) =
   159       pair (list (pair string int)) (pair (list properties) (pair bool (pair bool (pair string
   160       pair (list (pair string int)) (pair (list properties) (pair bool (pair bool (pair string
   160         (pair (list (pair string string)) (pair string (pair string (pair string (pair string
   161         (pair (list (pair string string)) (pair string (pair string (pair string (pair string
   161           (pair string
   162           (pair string
   162             (pair (((list (pair Options.decode (list (string #> rpair Position.none))))))
   163             (pair (((list (pair Options.decode (list (pair string position))))))
   163               (pair (list (pair string string))
   164               (pair (list (pair string string))
   164                 (pair (list (pair string string)) (list (pair string string)))))))))))))))
   165                 (pair (list (pair string string)) (list (pair string string)))))))))))))))
   165       (YXML.parse_body yxml);
   166       (YXML.parse_body yxml);
   166   in
   167   in
   167     Args {symbol_codes = symbol_codes, command_timings = command_timings, do_output = do_output,
   168     Args {symbol_codes = symbol_codes, command_timings = command_timings, do_output = do_output,