svls-vscode icon indicating copy to clipboard operation
svls-vscode copied to clipboard

svls tries to parse files outside of include_paths

Open prokie opened this issue 3 years ago • 0 comments

I have specified in .svls.toml that I only want to parse files inside src. But it tries to parse files in my other folder (fail_src) as well.

With the following files, I get the problem in vscode:

parse error svls [Ln 2, Col 8]

# .svls.toml
[verilog]
include_paths = ["src/"]
defines = ["DEBUG", "VAR=1"]

[option]
linter = true
# .svlint.toml
[option]

[rules]
├── fail_src
│   └── b.sv
└── src
    └── a.sv
// b.sv
initial begin
end

prokie avatar Oct 12 '22 08:10 prokie