[][src]Function verilog_filelist_parser::parse_file

pub fn parse_file(path: impl AsRef<Path>) -> Result<Filelist, Box<dyn Error>>

Parses a filelist file.

Environment variables represented with paranthesis or curly braces (i.e. $() or ${}) will be automatically substituted.

Arguments

  • path - The path to the filelist

Errors

Returns an error if the filelist in path cannot be read. Also returns error if any of the nested filelists cannot be read.