mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Fix for bug #127050: Eclipse freeses in invalide header file is included.
This commit is contained in:
parent
17afe7c4ac
commit
e6f7886cc6
1 changed files with 2 additions and 0 deletions
|
@ -448,6 +448,8 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
|
||||||
case IToken.tLBRACE:
|
case IToken.tLBRACE:
|
||||||
++depth;
|
++depth;
|
||||||
break;
|
break;
|
||||||
|
case IToken.tEOC:
|
||||||
|
throw new EndOfFileException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Add table
Reference in a new issue