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:
parent
6ac9c4e9a4
commit
4b0f5e25f1
1 changed files with 3 additions and 1 deletions
|
@ -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 {..} *"
|
||||
|
|
Loading…
Add table
Reference in a new issue