1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

Infinite loop bug.

This commit is contained in:
Alain Magloire 2003-05-30 18:40:55 +00:00
parent 6ac9c4e9a4
commit 4b0f5e25f1

View file

@ -251,7 +251,9 @@ public class GDBTypeParser {
while (isCIdentifierPart((c = getch())) && c != EOF) {
token += (char) c;
}
ungetch();
if (c != EOF) {
ungetch();
}
tokenType = NAME;
} else if (c == '{') {
// Swallow gdb sends things like "struct foobar {..} *"