When i start vhdl-tool server i get Failed to parse for some files. How can i see a line number and parse error? Or multiple errors so i don't have to fix them one-by-one (stopping and starting vhdl-tool server each time).
Failed to parse
Once the server is running, you can run this command: vhdl-tool client lint "**/*.vhd" to get the line numbers and parse errors for all files. Note that the command accepts wildcards.
vhdl-tool client lint "**/*.vhd"
I'll add a convenience wrapper for batch checking an entire project in the near future.
Also, while we have tested VHDL-Tool with over a million lines of code, its possible there may be bugs in the parser and it may be falsely reporting parse errrors. If it looks like that's happening, please don't hesitate to file another bug report.
After doing "vhdl-tool client lint ..." on one of my failing files, I noticed that vhdl-tool isn't recognising the following:
library ieee; use ieee.std_logic_1164.all, ieee.numeric_std.all, std.textio.all;
It stops on the first comma:
(22, 44): unexpected ',' expecting ';'
I believe this is valid VHDL.