1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Fix for 24030 - hang on destructors in namespaces.

The parser wasn't proceeding to next token on this "error".
This commit is contained in:
Doug Schaefer 2003-02-05 20:29:01 +00:00
parent 55c84a95c3
commit 0b75f23cdd
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-02-05 Doug Schaefer
* src/org/eclipse/cdt/internal/parser.generated:
Fix for hang on destructors in namespaces
2003-02-01 Alain Magloire 2003-02-01 Alain Magloire
Cleanups and suggestions for Hoda. Cleanups and suggestions for Hoda.

View file

@ -73,9 +73,9 @@ public final class CPPParser implements CPPParserConstants {
} }
static void synchronize(int kind) { static void synchronize(int kind) {
if (getToken(0).kind == kind) { //if (getToken(0).kind == kind) {
return; // return;
} //}
Token t; Token t;
do { do {
t= getNextToken(); t= getNextToken();