mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 22:25:25 +02:00
Fix for 66188
The callback acceptProblem() should do nothing. * src/org/eclipse/cdt/internal/ui/compare/CParseTreeBuilder.java
This commit is contained in:
parent
04c5f27798
commit
0144bd8699
2 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,13 @@
|
|||
Fix for bug 66197 : I18N: Invalid key in Code Templates export message
|
||||
* src/org/eclipse/cdt/internal/corext.template/TemplateMessages.properties
|
||||
|
||||
2004-06-08 Alain Magloire
|
||||
|
||||
Fix for 66188
|
||||
The callback acceptProblem() should do nothing.
|
||||
|
||||
* src/org/eclipse/cdt/internal/ui/compare/CParseTreeBuilder.java
|
||||
|
||||
2004-06-08 Alain Magloire
|
||||
|
||||
Fix for PR 66186.
|
||||
|
|
|
@ -235,10 +235,7 @@ public class CParseTreeBuilder extends SourceElementRequestorAdapter {
|
|||
* @see org.eclipse.cdt.core.parser.ISourceElementRequestor#acceptProblem(org.eclipse.cdt.core.parser.IProblem)
|
||||
*/
|
||||
public boolean acceptProblem(IProblem problem) {
|
||||
int problemId = problem.getID();
|
||||
if (problem.isError() && ((problemId & IProblem.SYNTAX_RELATED) != 0)) {
|
||||
throw new ParseError();
|
||||
}
|
||||
// Do nothing.
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue