mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cpp: IGNORE_ELSE solving push_back problem #1079
git-svn-id: svn://ultimatepp.org/upp/trunk@8458 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
46481a8455
commit
3ff63589c0
2 changed files with 2 additions and 2 deletions
|
|
@ -415,8 +415,6 @@ struct CppItem {
|
|||
String CppItemKindAsString(int kind);
|
||||
|
||||
int FindItem(const Array<CppItem>& x, const String& qitem);
|
||||
//int GetCount(const Array<CppItem>& x, int i);
|
||||
//int FindNext(const Array<CppItem>& x, int i);
|
||||
int FindName(const Array<CppItem>& x, const String& name, int i = 0);
|
||||
|
||||
struct CppBase : ArrayMap<String, Array<CppItem> > {
|
||||
|
|
|
|||
|
|
@ -171,6 +171,8 @@ void Cpp::DoFlatInclude(const String& header_path)
|
|||
}
|
||||
}
|
||||
|
||||
#define IGNORE_ELSE
|
||||
|
||||
void Cpp::Do(const String& sourcefile, Stream& in, const String& currentfile, bool get_macros)
|
||||
{
|
||||
if(visited.Find(currentfile) >= 0 || visited.GetCount() > 20000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue