load multiple morphism base files
This commit is contained in:
parent
88978d9008
commit
1068b8ed45
1 changed files with 31 additions and 29 deletions
|
@ -151,8 +151,9 @@ fn parser(
|
|||
fn main() {
|
||||
let type_dict = Arc::new(RwLock::new(BimapTypeDict::new()));
|
||||
|
||||
for mb_path in std::env::args().skip(1) {
|
||||
let src = std::fs::read_to_string(
|
||||
std::env::args().nth(1).expect("expected file name")
|
||||
mb_path
|
||||
).expect("read");
|
||||
|
||||
let result = parser(type_dict.clone()).parse(src.clone());
|
||||
|
@ -187,4 +188,5 @@ fn main() {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue