After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788325 - external tools: does not linkify Free Pascal error messages
external tools: does not linkify Free Pascal error messages
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-29 07:19 UTC by Adam Dingle
Modified: 2019-03-23 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.83 KB, patch)
2017-09-29 07:45 UTC, Adam Dingle
none Details | Review

Description Adam Dingle 2017-09-29 07:19:26 UTC
If I use the Build tool to compile code using the Free Pascal compiler (see https://freepascal.org), error messages in the Tool Output window don't become links to source code lines.  These error messages look like this:

hello.pas(8,5) Note: Local variable "p" is assigned but never used
hello.pas(9,5) Note: Local variable "q" not used
hello.pas(11,1) Fatal: Syntax error, ":" expected but "BEGIN" found
Comment 1 Adam Dingle 2017-09-29 07:45:51 UTC
Created attachment 360648 [details] [review]
fix

Here's a fix.  I slightly generalized the existing C# error parser, which recognizes similar error messages.
Comment 2 Adam Dingle 2017-10-05 08:54:58 UTC
The fix I posted above is straightforward.  Any objection to my committing this?
Comment 3 Adam Dingle 2017-10-08 08:17:35 UTC
I have committed the fix.  I'm closing this bug.