mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 04:45:38 +02:00
This commit is contained in:
parent
ac87e55ae0
commit
35ad4ab120
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue