Console passes wrong file name to Error List
Submitted by Tuesday, 25 January, 2011 - 22:32
on
I'm using the Console plug-in to parse my compiler messages and display errors in Error List plug-in. This works fine except the Error List incorrectly displays the file name and path.
In the Console error patterns menu, I specify the following:
Name: VHDL
Regexp: (.+):..+\\([^\\]+)\.vhd\ *\((\d+)\).+)
Warning regexp: leave empty
Extra lines regexp: leave empty
Filename: $f
Line number: $3
Error message: $4
Here's a sample of the compiler output displayed in the Console:
-- Compiling architecture behavior of tb_system_monitor
** Error: C:\Projects\tb_system_monitor.vhd (171): (vcom-1272) Length of expected is 8.
The Error List shows the correct error, but gets the file path wrong and forgets to include the file extension (.vhd).
C:\Program Files\jEdit\tb_system_monitor (1 error, 0 warnings)
171: ** Error: C (vcom-1272) Length of expected is 8.
I tried changing the Console Filename parameter from "$f", but nothing I did had any effect on the file name reported in the Error List. Is the Filename parameter passed to the Error List?
Thanks.
In the Console error patterns menu, I specify the following:
Name: VHDL
Regexp: (.+):..+\\([^\\]+)\.vhd\ *\((\d+)\).+)
Warning regexp: leave empty
Extra lines regexp: leave empty
Filename: $f
Line number: $3
Error message: $4
Here's a sample of the compiler output displayed in the Console:
-- Compiling architecture behavior of tb_system_monitor
** Error: C:\Projects\tb_system_monitor.vhd (171): (vcom-1272) Length of expected is 8.
The Error List shows the correct error, but gets the file path wrong and forgets to include the file extension (.vhd).
C:\Program Files\jEdit\tb_system_monitor (1 error, 0 warnings)
171: ** Error: C (vcom-1272) Length of expected is 8.
I tried changing the Console Filename parameter from "$f", but nothing I did had any effect on the file name reported in the Error List. Is the Filename parameter passed to the Error List?
Thanks.