Changeset 421 in dev for trunk


Ignore:
Timestamp:
Mar 8, 2008, 12:37:14 PM (16 years ago)
Author:
dai_9181
Message:

グローバルな構造体の初期値を指定するとエラーになってしまうバグを修正。

Location:
trunk/abdev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_Var.cpp

    r409 r421  
    813813    ///////////////////////////////////////
    814814
    815     if( type.IsObject() || type.IsStruct() ){
    816         //オブジェクトまたは構造体の場合はありえない
    817         SetError(300,NULL,cp);
    818         return false;
    819     }
    820 
    821815    if( subscripts.size() > 0 ){
    822816        SetError(41,0,cp);
  • trunk/abdev/BasicCompiler64/Compile_Var.cpp

    r410 r421  
    832832    ///////////////////////////////////////
    833833
    834     if( type.IsObject() || type.IsStruct() ){
    835         //オブジェクトまたは構造体の場合はありえない
    836         SetError(300,NULL,cp);
    837         return false;
    838     }
    839 
    840834    if( subscripts.size() > 0 ){
    841835        SetError(41,0,cp);
Note: See TracChangeset for help on using the changeset viewer.