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

Blittable型を導入した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Procedure.cpp

    r116 r128  
    105105        }
    106106        else if(sourceOfParams[i]==1&&sourceOfParams[i+1]==ESC_AS){
     107            // As指定
    107108            i+=2;
    108109
     
    131132                SetError(3,temporary,nowLine);
    132133                type.SetBasicType( DEF_PTR_VOID );
     134            }
     135
     136            if( type.IsObject() ){
     137                if( type.GetClass().IsBlittableType() ){
     138                    // Blittable型のときは基本型として扱う
     139                    type = type.GetClass().GetBlittableType();
     140                }
    133141            }
    134142        }
Note: See TracChangeset for help on using the changeset viewer.