Core: Fixed memory info in FreeBSD, ide: Refactoring CodeBase

git-svn-id: svn://ultimatepp.org/upp/trunk@14617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-06-22 06:38:59 +00:00
parent f0e40faf72
commit cd503a34bb
31 changed files with 351 additions and 187 deletions

View file

@ -160,13 +160,12 @@ void Lex::Next()
if(c == '\0') return;
switch(c) {
case_id: {
String x;
x.Reserve(12);
x.Cat(c);
const char *b = ptr - 1;
while(iscid(*ptr))
x.Cat(*ptr++);
ptr++;
String x(b, ptr);
int q = id.FindAdd(x);
if(q == tk_rval_ - 256) { // simple hack for transitionary macro
if(q == tk_rval_ - 256) { // simple hack for old rval macro
AddCode('&');
AddCode('&');
}