mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-18 14:16:12 -06:00
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:
parent
f0e40faf72
commit
cd503a34bb
31 changed files with 351 additions and 187 deletions
|
|
@ -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('&');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue