equal
deleted
inserted
replaced
314 } |
314 } |
315 |
315 |
316 |
316 |
317 /* symbols */ |
317 /* symbols */ |
318 |
318 |
319 private def read_symbols(path: String): Iterator[String] = |
319 private def read_symbols(path: String): List[String] = |
320 { |
320 { |
321 val file = new File(platform_path(path)) |
321 val file = new File(platform_path(path)) |
322 if (file.isFile) Source.fromFile(file).getLines |
322 if (file.isFile) Source.fromFile(file).getLines.toList |
323 else Iterator.empty |
323 else Nil |
324 } |
324 } |
325 val symbols = new Symbol.Interpretation( |
325 val symbols = new Symbol.Interpretation( |
326 read_symbols("$ISABELLE_HOME/etc/symbols") ++ |
326 read_symbols("$ISABELLE_HOME/etc/symbols") ::: |
327 read_symbols("$ISABELLE_HOME_USER/etc/symbols")) |
327 read_symbols("$ISABELLE_HOME_USER/etc/symbols")) |
328 |
328 |
329 |
329 |
330 /* fonts */ |
330 /* fonts */ |
331 |
331 |