Support for file input and output, including multiple input files with proper position tracking.

This commit is contained in:
Chris Fallin
2021-09-04 14:04:19 -07:00
parent e9a57d854d
commit 638c9edd01
8 changed files with 255 additions and 90 deletions

View File

@@ -4,7 +4,7 @@ use crate::lexer::Pos;
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct Defs {
pub defs: Vec<Def>,
pub filename: String,
pub filenames: Vec<String>,
}
/// One toplevel form in an ISLE file.