equal
deleted
inserted
replaced
223 if (props_path.is_file) { |
223 if (props_path.is_file) { |
224 try { |
224 try { |
225 for (case (a, b) <- File.read_props(props_path).asScala.toList) |
225 for (case (a, b) <- File.read_props(props_path).asScala.toList) |
226 yield { |
226 yield { |
227 if (!default_platforms.defined(a)) error("Bad platform family " + quote(a)) |
227 if (!default_platforms.defined(a)) error("Bad platform family " + quote(a)) |
228 val ps = List.from(b.split("\\s+").iterator.filter(_.nonEmpty)).map(Path.explode) |
228 val ps = Word.explode(b).map(Path.explode) |
229 for (p <- ps if !p.all_basic) error("Bad path outside component " + p) |
229 for (p <- ps if !p.all_basic) error("Bad path outside component " + p) |
230 a -> ps |
230 a -> ps |
231 } |
231 } |
232 } |
232 } |
233 catch { case ERROR(msg) => error(msg + Position.here(Position.File(props_path.implode))) } |
233 catch { case ERROR(msg) => error(msg + Position.here(Position.File(props_path.implode))) } |