mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +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:
|
||||
++depth;
|
||||
break;
|
||||
case IToken.tEOC:
|
||||
throw new EndOfFileException();
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue