Ignore:
Timestamp:
Mar 2, 2008, 4:36:33 AM (16 years ago)
Author:
dai_9181
Message:

Enumを大改修。Enumメンバ初期値にリテラル、定数、Enumメンバを指定できるようにした。また、エラー行数を正確に表示可能にした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler64/MakePeHdr.cpp

    r358 r406  
    140140
    141141    //列挙体に関する情報を収集
    142     CEnumParent::InitEnum();
     142    compiler.enumInfoCollection.InitEnum();
    143143
    144144    //列挙体からクラスコードを生成
    145145    char *temp;
    146     temp=CEnumParent::GenerateSourceCode();
     146    temp = compiler.enumInfoCollection.GenerateSourceCode();
    147147    AddSourceCode(temp);
    148148    HeapDefaultFree(temp);
     
    16551655    delete pobj_Reloc;
    16561656
    1657     //列挙体に関する情報の破棄
    1658     CEnumParent::DestroyEnum();
    1659 
    16601657    //クラスに関するメモリを解放
    16611658    compiler.GetObjectModule().meta.GetClasses().Clear();
Note: See TracChangeset for help on using the changeset viewer.