Ignore:
Timestamp:
Apr 8, 2007, 2:07:31 AM (17 years ago)
Author:
dai_9181
Message:

列挙型クラスの自動生成コードを修正した(派生クラスでのToStringメソッドを廃止し、サイズを軽減した)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Intermediate_Step2.cpp

    r78 r92  
    386386            case ESC_CLASS:
    387387                KillStringSpaces(Command+2);
     388                i2 = 2;
     389                if( Command[i2] == 1 && Command[i2+1] == ESC_ENUM ){
     390                    i2 += 2;
     391                }
    388392
    389393                //コンストラクタ、デストラクタを暗黙的に生成
    390                 MakeConstructorAndDestructor(buffer,nowLine,Command+2);
     394                MakeConstructorAndDestructor(buffer,nowLine,Command + i2);
    391395                break;
    392396            case ESC_INTERFACE:
Note: See TracChangeset for help on using the changeset viewer.