equal
deleted
inserted
replaced
252 |
252 |
253 val document_errors = |
253 val document_errors = |
254 info.document_theories.flatMap( |
254 info.document_theories.flatMap( |
255 { |
255 { |
256 case (thy, pos) => |
256 case (thy, pos) => |
257 val parent_sessions = sessions_structure.build_requirements(List(session_name)) |
257 val parent_sessions = |
|
258 if (sessions_structure.build_graph.defined(session_name)) { |
|
259 sessions_structure.build_requirements(List(session_name)) |
|
260 } |
|
261 else Nil |
258 |
262 |
259 def err(msg: String): Option[String] = |
263 def err(msg: String): Option[String] = |
260 Some(msg + " " + quote(thy) + Position.here(pos)) |
264 Some(msg + " " + quote(thy) + Position.here(pos)) |
261 |
265 |
262 known_theories.get(thy).map(_.name) match { |
266 known_theories.get(thy).map(_.name) match { |