mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
fixed bug 56620 - Outline view stops on error on last line of block
(errorHandling() goes to far)
This commit is contained in:
parent
266e19853c
commit
b5f7b12be4
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-03-29 Andrew Niefer
|
||||||
|
fixed bug 56620 - Outline view stops on error on last line of block
|
||||||
|
(errorHandling() goes to far)
|
||||||
|
|
||||||
2004-03-29 John Camelon
|
2004-03-29 John Camelon
|
||||||
Fixed Bug 56517 - Preprocessor skipping doesn't ignore the contents of string literals.
|
Fixed Bug 56517 - Preprocessor skipping doesn't ignore the contents of string literals.
|
||||||
|
|
||||||
|
|
|
@ -211,6 +211,9 @@ public abstract class Parser extends ExpressionParser implements IParser
|
||||||
--depth;
|
--depth;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if( depth < 0 )
|
||||||
|
return;
|
||||||
|
|
||||||
consume();
|
consume();
|
||||||
}
|
}
|
||||||
// eat the SEMI/RBRACE as well
|
// eat the SEMI/RBRACE as well
|
||||||
|
|
Loading…
Add table
Reference in a new issue