1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 04:45:38 +02:00
John Camelon 2004-02-24 18:18:56 +00:00
parent ac87e55ae0
commit 35ad4ab120
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2004-02-24 John Camelon
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=52823
2004-02-24 John Camelon
Partial Fix for Bug 52534 - Selection Search offset limit reached is broken

View file

@ -123,6 +123,7 @@ public abstract class Parser extends ExpressionParser implements IParser
*/
protected void translationUnit()
{
try
{
compilationUnit = astFactory.createCompilationUnit();
@ -132,7 +133,14 @@ public abstract class Parser extends ExpressionParser implements IParser
return;
}
compilationUnit.enterScope( requestor );
compilationUnit.enterScope( requestor );
try {
setCompletionValues(compilationUnit, CompletionKind.VARIABLE_TYPE, Key.DECLARATION );
} catch (EndOfFileException e1) {
compilationUnit.exitScope( requestor );
return;
}
IToken lastBacktrack = null;
IToken checkToken = null;
while (true)