add ability to include file as data

This commit is contained in:
2021-11-21 13:34:15 +01:00
parent 8027a8849b
commit 640c7fff52
7 changed files with 60 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ pub fn tc_script(script: &mut ast::Script, source: &str) -> Result<()> {
}
}
}
ast::DataValues::String(_) => (),
ast::DataValues::String(_) | ast::DataValues::File { .. } => (),
}
}
}