Changeset 127 in dev for BasicCompiler_Common/Class.cpp


Ignore:
Timestamp:
May 16, 2007, 4:36:28 AM (17 years ago)
Author:
dai_9181
Message:

Bittableをちょっとだけ実装。
64bitコンパイラプロジェクトにSmallDebugビルド構成を作成(Releaseビルドが不調な間の暫定モード)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.cpp

    r120 r127  
    13991399            }
    14001400            else{
     1401                bool isInherits = false;
    14011402                if(basbuf[i+1]==1&&basbuf[i+2]==ESC_INHERITS){
    14021403                    //継承を行う場合
     1404                    isInherits = true;
     1405
    14031406                    for(i+=3,i2=0;;i++,i2++){
    14041407                        if(IsCommandDelimitation(basbuf[i])){
     
    14141417                    }
    14151418                }
    1416                 else{
     1419                else if( memicmp( basbuf + i+1,"Blittable", 9 ) == 0 &&
     1420                    basbuf[i+10] == 1 && basbuf[i+11] == ESC_INHERITS ){
     1421                        // Blittable Inherits
     1422
     1423                        for(i+=12,i2=0;;i++,i2++){
     1424                            if(IsCommandDelimitation(basbuf[i])){
     1425                                temporary[i2]=0;
     1426                                break;
     1427                            }
     1428                            temporary[i2]=basbuf[i];
     1429                        }
     1430
     1431                        Type type;
     1432                        Type::StringToType( temporary, type );
     1433                        pobj_c->SetBlittableType( type );
     1434
     1435                }
     1436
     1437                if( !isInherits ){
    14171438                    //Objectを継承する
    14181439                    lstrcpy( temporary, "Object" );
     
    14761497                    i += 2;
    14771498                }
    1478 /*
    1479                 //Ref修飾子
    1480                 bool isRef = false;
    1481                 if( basbuf[i] == 1 && basbuf[i + 1] == ESC_BYREF ){
    1482                     isRef = true;
    1483                     i += 2;
    1484                 }*/
    14851499
    14861500                if(basbuf[i]==1&&(
Note: See TracChangeset for help on using the changeset viewer.