compiler error parsing in kdevelop
Matt Rogers
mattr at kde.org
Mon May 21 03:13:21 UTC 2007
On Sunday 20 May 2007 21:36, Alexander Neundorf wrote:
> Hi,
>
> it seems I found the problem, the regexp for getting the filename from the
> compiler error message is the following:
>
> ErrorFormat( "([^: \t]+):([0-9]+):([^0-9]+)", 1, 2, 3 ),
>
> where the filename is "([^: \t]+)"
> Now if the filename has spaces (which may very well be) this doesn't work
> correctly. I could simply remove the " " from the regexp. This will fix it
> for me. Are there error messages where this might break the parsing ?
>
> Alex
>
>
We won't be able to find out until you test it, since it sounds like you'll be
the one writing the patch. However, I don't think there is any error message
where your fix would cause another bug.
--
Matt
More information about the KDevelop-devel
mailing list