1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Got rid of the break we added to translationUnit which ended up bringing

untimely endings to the parse. Also added a fix for Dave to nextToken in
the scanner which resulted in the massive increase of char[]s.
This commit is contained in:
Doug Schaefer 2004-06-05 02:47:08 +00:00
parent c390aa43bf
commit 608ab71cce
2 changed files with 0 additions and 6 deletions

View file

@ -214,7 +214,6 @@ public abstract class Parser extends ExpressionParser implements IParser
if( e instanceof Exception )
logException( "translationUnit", (Exception) e ); //$NON-NLS-1$
failParse();
break;
}
}
compilationUnit.exitScope( requestor, astFactory.getReferenceManager() );

View file

@ -2113,11 +2113,6 @@ public final class Scanner implements IScanner, IScannerData {
continue;
}
}
if (( getDepth() != 0) && !atEOF )
{
atEOF = true;
handleProblem( IProblem.SCANNER_UNEXPECTED_EOF, null, getCurrentOffset(), false, true );
}
// we're done
throwEOF(null);