Changeset 138 in dev for BasicCompiler64/Compile_Var.cpp


Ignore:
Timestamp:
Jun 12, 2007, 1:57:26 AM (17 years ago)
Author:
dai_9181
Message:

Member::initializeExpressionのリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Compile_Var.cpp

    r137 r138  
    736736}
    737737
    738 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,char *InitBuf){
     738bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,const char *lpszInitBuf){
    739739    extern BYTE *initGlobalBuf;
    740740    int i,i2,i3;
    741741    char temporary[VN_SIZE];
     742    char InitBuf[VN_SIZE];
     743    lstrcpy( InitBuf, lpszInitBuf );
    742744
    743745    if(InitBuf[0]=='['){
     
    873875    return true;
    874876}
    875 bool InitLocalVar(int offset,const Type &type,const int *SubScripts,char *InitBuf){
     877bool InitLocalVar(int offset,const Type &type,const int *SubScripts,const char *lpszInitBuf){
    876878    int i,i2,i3;
    877879    char temporary[VN_SIZE];
     880    char InitBuf[VN_SIZE];
     881    lstrcpy( InitBuf, lpszInitBuf );
    878882
    879883    if(InitBuf[0]=='['){
     
    10471051}
    10481052
    1049 void dim( char *VarName,int *SubScripts,Type &type,char *InitBuf,char *ConstractParameter,DWORD dwFlags){
     1053void dim( char *VarName,int *SubScripts,Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlags){
    10501054    if( UserProc::IsGlobalAreaCompiling() ){
    10511055        /////////////////////////
Note: See TracChangeset for help on using the changeset viewer.