mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
240d18c935
commit
a89bdb8fee
3 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue