Fix compile_bytecode

This commit is contained in:
Jeong YunWon committed 2022-08-15 20:09:31 +09:00
1 parent 2fafd409a9
commit d59af76be5
1 file changed
+7 -1
+7 -1
View File
@@ -191,7 +191,13 @@ impl CompilationSource {
let code = match code {
Ok(code) => code,
Err(_) if stem.starts_with("badsyntax_") => continue,
Err(_)
if stem.starts_with("badsyntax_")
| parent.ends_with(".encoded_modules") =>
{
// TODO: handle with macro arg rather than hard-coded path
continue;
}
Err(e) => return Err(e),
};