mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-07 22:03:42 -06:00
A++ fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@518 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
48d03773fe
commit
637416fa38
3 changed files with 12 additions and 12 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include "ide.h"
|
||||
|
||||
#define LDUMP(x) //DDUMP(x)
|
||||
#define LDUMPC(x) //DDUMPC(x)
|
||||
#define LLOG(x) //DLOG(x)
|
||||
#define LDUMP(x) // DDUMP(x)
|
||||
#define LDUMPC(x) // DDUMPC(x)
|
||||
#define LLOG(x) // DLOG(x)
|
||||
|
||||
class IndexSeparatorFrameCls : public CtrlFrame {
|
||||
virtual void FrameLayout(Rect& r) { r.right -= 1; }
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#include "ide.h"
|
||||
|
||||
#define LDUMP(x) //DDUMP(x)
|
||||
#define LDUMPC(x) //DDUMPC(x)
|
||||
#define LLOG(x) //DLOG(x)
|
||||
#define LDUMP(x) // DDUMP(x)
|
||||
#define LDUMPC(x) // DDUMPC(x)
|
||||
#define LLOG(x) // DLOG(x)
|
||||
|
||||
static Array<CppItem> sEmpty;
|
||||
|
||||
|
|
@ -33,26 +33,26 @@ String ParseTemplatedType(const String& type, Vector<String>& tparam)
|
|||
while(*s) {
|
||||
if(*s == '<') {
|
||||
s++;
|
||||
int lvl = 0;
|
||||
int lvl = 1;
|
||||
String t;
|
||||
while(*s) {
|
||||
int c = *s++;
|
||||
if(c == ',') {
|
||||
if(lvl == 0 && t.GetCount()) {
|
||||
if(lvl == 0) {
|
||||
tparam.Add(t);
|
||||
t.Clear();
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(c == '>' && --lvl)
|
||||
if(c == '>' && --lvl == 0)
|
||||
break;
|
||||
if(c == '<')
|
||||
lvl++;
|
||||
t.Cat(c);
|
||||
}
|
||||
}
|
||||
if(t.GetCount())
|
||||
tparam.Add(t);
|
||||
tparam.Add(t);
|
||||
break;
|
||||
}
|
||||
else
|
||||
r.Cat(*s++);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
#define IDE_VERSION "810.r160"
|
||||
#define IDE_VERSION "810.r161"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue