Changeset 138 in dev for BasicCompiler64
- Timestamp:
- Jun 12, 2007, 1:57:26 AM (17 years ago)
- Location:
- BasicCompiler64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Var.cpp
r137 r138 736 736 } 737 737 738 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,c har *InitBuf){738 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,const char *lpszInitBuf){ 739 739 extern BYTE *initGlobalBuf; 740 740 int i,i2,i3; 741 741 char temporary[VN_SIZE]; 742 char InitBuf[VN_SIZE]; 743 lstrcpy( InitBuf, lpszInitBuf ); 742 744 743 745 if(InitBuf[0]=='['){ … … 873 875 return true; 874 876 } 875 bool InitLocalVar(int offset,const Type &type,const int *SubScripts,c har *InitBuf){877 bool InitLocalVar(int offset,const Type &type,const int *SubScripts,const char *lpszInitBuf){ 876 878 int i,i2,i3; 877 879 char temporary[VN_SIZE]; 880 char InitBuf[VN_SIZE]; 881 lstrcpy( InitBuf, lpszInitBuf ); 878 882 879 883 if(InitBuf[0]=='['){ … … 1047 1051 } 1048 1052 1049 void dim( char *VarName,int *SubScripts,Type &type,c har *InitBuf,char *ConstractParameter,DWORD dwFlags){1053 void dim( char *VarName,int *SubScripts,Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlags){ 1050 1054 if( UserProc::IsGlobalAreaCompiling() ){ 1051 1055 ///////////////////////// -
BasicCompiler64/Opcode.h
r131 r138 324 324 void SetThisPtrToReg(int reg); 325 325 bool GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType,int *pss = NULL); 326 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,c har *InitBuf);326 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,const char *InitBuf); 327 327 #define DIMFLAG_INITDEBUGVAR 0x01 328 328 #define DIMFLAG_NONCALL_CONSTRACTOR 0x02 329 329 #define DIMFLAG_STATIC 0x04 330 330 #define DIMFLAG_CONST 0x08 331 void dim( char *VarName,int *SubScripts,Type &type, char *InitBuf,char *ConstractParameter,DWORD dwFlags);331 void dim( char *VarName,int *SubScripts,Type &type, const char *InitBuf,const char *ConstractParameter,DWORD dwFlags); 332 332 void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar); 333 333 bool Compile_AddGlobalRootsForGc();
Note:
See TracChangeset
for help on using the changeset viewer.