Open gmlarumbe opened 9 months ago
Current error can be worked around by switching to verilog-mode
before running verilog-auto
and then switching back to verilog-ts-mode
:
(if (eq major-mode 'verilog-ts-mode)
(progn
(verilog-mode)
(verilog-auto)
(verilog-ts-mode))
(verilog-auto))
Implemented in verilog-ts-auto
via C-c C-a
.
The error still shows up from time to time. Re-running verilog-ts-auto
works it around.
The following error shows up if running
verilog-ext-template-inst-auto-from-file
withverilog-ts-mode
:Internal problem; use of syntax-ppss when cache may be corrupt
This is caused by the behaviour of
verilog-auto
, used by the AUTO_TEMPLATE construct for the instance template:verilog-auto
will switch fromverilog-ts-mode
toverilog-mode
which should not be the intended behaviour for template instantiation.