src/Pure/Tools/build.scala
changeset 59895 a68a0fec288d
parent 59893 89f3bd11fa8b
child 60077 55cb9462e602
equal deleted inserted replaced
59894:ca16b657901f 59895:a68a0fec288d
   505                 info.document_files.map(file => info.dir + file._1 + file._2)).map(_.expand)
   505                 info.document_files.map(file => info.dir + file._1 + file._2)).map(_.expand)
   506 
   506 
   507             if (list_files)
   507             if (list_files)
   508               progress.echo(cat_lines(all_files.map(_.implode).sorted.map("  " + _)))
   508               progress.echo(cat_lines(all_files.map(_.implode).sorted.map("  " + _)))
   509 
   509 
   510             if (check_keywords.nonEmpty) {
   510             if (check_keywords.nonEmpty)
   511               for (path <- theory_files) {
   511               Check_Keywords.check_keywords(progress, syntax.keywords, check_keywords, theory_files)
   512                 if (progress.stopped) throw Exn.Interrupt()
       
   513                 for ((tok, pos) <- Check_Keywords.conflicts(syntax.keywords, check_keywords, path))
       
   514                 {
       
   515                   progress.echo(Output.warning_text(
       
   516                     "keyword conflict: " + tok.kind.toString + " " + quote(tok.content) +
       
   517                       Position.here(pos)))
       
   518                 }
       
   519               }
       
   520             }
       
   521 
   512 
   522             val sources = all_files.map(p => (p, SHA1.digest(p.file)))
   513             val sources = all_files.map(p => (p, SHA1.digest(p.file)))
   523 
   514 
   524             val session_graph = thy_deps.deps_graph(info.parent getOrElse "", loaded_theories0)
   515             val session_graph = thy_deps.deps_graph(info.parent getOrElse "", loaded_theories0)
   525 
   516