mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 05:45:58 +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
|
2004-02-24 John Camelon
|
||||||
Partial Fix for Bug 52534 - Selection Search offset limit reached is broken
|
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()
|
protected void translationUnit()
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
compilationUnit = astFactory.createCompilationUnit();
|
compilationUnit = astFactory.createCompilationUnit();
|
||||||
|
@ -133,6 +134,13 @@ public abstract class Parser extends ExpressionParser implements IParser
|
||||||
}
|
}
|
||||||
|
|
||||||
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 lastBacktrack = null;
|
||||||
IToken checkToken = null;
|
IToken checkToken = null;
|
||||||
while (true)
|
while (true)
|
||||||
|
|
Loading…
Add table
Reference in a new issue