Review Request: Parse error & warning messages generated by Free Pascal

Pär-Ola Nilsson peje66 at gmail.com
Fri Dec 7 12:14:29 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107613/
-----------------------------------------------------------

(Updated Dec. 7, 2012, 12:14 p.m.)


Review request for KDevelop.


Changes
-------

Made the regexp more specific and split into two, since the "Fatal:" error only has linenumber.
Added tests.


Description
-------

Parse error & warning messages generated by Free Pascal which looks like the following rows
With this patch clicking on the error & warning lines will bring you to the correct line & column.


pc -g -Tlinux -Sx -Mobjfpc iono
Free Pascal Compiler version 2.6.0-6 [2012/08/09] for x86_64
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling iono.pas
iono.pas(746,5) Warning: unreachable code
iono.pas(750,5) Warning: unreachable code
iono.pas(1166,16) Error: Illegal expression
iono.pas(1175) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)


Diffs (updated)
-----

  outputview/outputfilteringstrategies.cpp 567bc62 
  outputview/tests/filteringstrategytest.cpp 116b163 

Diff: http://git.reviewboard.kde.org/r/107613/diff/


Testing
-------


Thanks,

Pär-Ola Nilsson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20121207/fc0280e8/attachment.html>


More information about the KDevelop-devel mailing list