add basic checking for if an ingested file exists

This commit is contained in:
Brendan Hansknecht 2023-03-22 23:03:54 -07:00
parent f4411afbbc
commit 0c366949cb
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
3 changed files with 49 additions and 21 deletions

View file

@ -664,6 +664,7 @@ fn imports_entry<'a>() -> impl Parser<'a, Spaced<'a, ImportsEntry<'a>>, EImports
specialize(|_, pos| EImports::TypedIdent(pos), typed_ident())
),
|((file_name, _), typed_ident)| {
// TODO: look at blacking block strings during parsing.
Spaced::Item(ImportsEntry::IngestedFile(file_name, typed_ident))
}
)