A++ - fixed forwad struct/class declaration problem

git-svn-id: svn://ultimatepp.org/upp/trunk@602 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2008-11-05 09:44:55 +00:00
parent 240d18c935
commit a89bdb8fee
3 changed files with 6 additions and 6 deletions

View file

@ -1118,6 +1118,7 @@ bool Parser::Scope(const String& tp, const String& tn) {
im.param.Clear();
if(Key(';')) {
context = cc;
im.natural = Gpurify(nn);
SetScopeCurrent();
return true;
}

View file

@ -2,7 +2,7 @@
NAMESPACE_UPP
#define LLOG(x)
#define LLOG(x) DLOG(x)
#define LTIMING(x) // RTIMING(x)
bool DoQualify(Scopefo& nf, const String& type, String& qt);
@ -216,7 +216,8 @@ void QualifyPass1(CppBase& base)
}
m.qitem = m.item;
}
LLOG(base.GetKey(ni) << "." << m.item << " " << GetCppFile(m.file)
LLOG(base.GetKey(ni) << "." << m.item << " " << GetCppFile(m.file) << '(' << m.line << ") "
<< AsCString(m.natural)
<< " impl:" << m.impl << " kind:" << (int)m.kind << " IsType:" << m.IsType()
<< " type: " << m.type << " qtype:" << m.qtype << " tparam:" << m.tparam);
}
@ -264,7 +265,8 @@ void QualifyPass2(CppBase& base)
: m.item;
}
}
LLOG(base.GetKey(ni) << "." << m.item << " " << GetCppFile(m.file)
LLOG(base.GetKey(ni) << "." << m.item << " " << GetCppFile(m.file) << '(' << m.line << ") "
<< AsCString(m.natural)
<< " impl:" << m.impl << " kind:" << (int)m.kind << " IsType:" << m.IsType()
<< " qtype:" << m.qtype << " tparam:" << m.tparam);
}

View file

@ -161,9 +161,6 @@ public:
void AddTo(Ctrl& _owner) { MultiButtonFrame::AddTo(_owner); owner = &_owner; }
bool IsActive() const { return IsOpen(); }
// void Show(bool b = true) { drop.Show(b); }
// void Hide() { Show(false); }
Value Get() const;
int GetIndex() const;