[][src]Function verilog_filelist_parser::parse_file

pub fn parse_file(path: &str) -> 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 - A string slice that is 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.