Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-core-dev] Default Error Parsers was(Re: [cdt-patch] Fix for the bugzilla report #65576)

> 
> 
> The attached file 'patch.txt' contains the fix for bugzilla report
> #65576. Currently Make,GCC,GAS,GLD Error parsers do not return 'true'
> even if they parse error output successfully. This patch fixes the
> problem.
> 

We will have to reject this one 8-(

The interface is:
	boolean IErrorParser.processLine(String line)

So when the current parser returns true, we stop calling the error parsers
and move the current parser on top for the next line.

It turns out that all the register parsers needed to have a glimpse
at the output.  For example the DiscoveryScanner(extracts -I and -D)
or some other parser extracting information, the current
build directory or dependecy checking, etc ....

It is a bit late to have this change of behaviour for the default
parsers provided by the CDT.

We'll have to clean this after 2.0 and provide more features(States,
better multi-line support, hyperlinks markers, etc ...).




Back to the top