src/Pure/Admin/check_sources.scala
changeset 64324 416f4d031afd
parent 64162 03057a8fdd1f
child 64368 364d74ea985f
--- a/src/Pure/Admin/check_sources.scala	Thu Oct 20 13:53:36 2016 +0200
+++ b/src/Pure/Admin/check_sources.scala	Thu Oct 20 16:29:02 2016 +0200
@@ -15,6 +15,9 @@
     val file_pos = path.position
     def line_pos(i: Int) = Position.Line_File(i + 1, file_name)
 
+    if (space_explode('/', Word.lowercase(path.expand.split_ext._1.implode)).contains("aux"))
+      Output.warning("Illegal file-name on Windows" + Position.here(file_pos))
+
     val content = File.read(path)
 
     for { (line, i) <- split_lines(content).iterator.zipWithIndex }