fhdl/verilog: improve error reporting