diff --git a/src/protocol/parser/mod.rs b/src/protocol/parser/mod.rs index 6d2a3281c144df2d3547c8bf2622498bdb2dd6a0..f79a81c83522d13a3b39043637b73fc234a79a45 100644 --- a/src/protocol/parser/mod.rs +++ b/src/protocol/parser/mod.rs @@ -296,8 +296,9 @@ impl Parser { use std::path::{Path, PathBuf}; use std::fs; - const FILES: [&'static str; 1] = [ + const FILES: [&'static str; 2] = [ "std.global.pdl", + "std.random.pdl", ]; // Determine base directory @@ -324,6 +325,7 @@ impl Parser { let mut first_file = true; for file in FILES { + file_path.clear(); file_path.push(path); file_path.push(file);