Changeset 138 in dev for BasicCompiler32
- Timestamp:
- Jun 12, 2007, 1:57:26 AM (17 years ago)
- Location:
- BasicCompiler32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Var.cpp
r137 r138 714 714 } 715 715 716 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,c har *InitBuf){716 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,const char *lpszInitBuf){ 717 717 extern BYTE *initGlobalBuf; 718 718 int i,i2,i3; 719 719 char temporary[VN_SIZE]; 720 char InitBuf[VN_SIZE]; 721 lstrcpy( InitBuf, lpszInitBuf ); 720 722 721 723 if(InitBuf[0]=='['){ … … 851 853 return true; 852 854 } 853 bool InitLocalVar(int offset,const Type &type,const int *SubScripts,c har *InitBuf){855 bool InitLocalVar(int offset,const Type &type,const int *SubScripts,const char *lpszInitBuf){ 854 856 int i,i2,i3; 855 857 char temporary[VN_SIZE]; 858 char InitBuf[VN_SIZE]; 859 lstrcpy( InitBuf, lpszInitBuf ); 856 860 857 861 if(InitBuf[0]=='['){ … … 1061 1065 } 1062 1066 1063 void dim( char *VarName,int *SubScripts,Type &type,c har *InitBuf,char *ConstractParameter,DWORD dwFlags){1067 void dim( char *VarName,int *SubScripts,Type &type,const char *InitBuf,const char *ConstractParameter,DWORD dwFlags){ 1064 1068 if( UserProc::IsGlobalAreaCompiling() ){ 1065 1069 ///////////////////////// -
BasicCompiler32/Opcode.h
r129 r138 202 202 void SetThisPtrToReg(int reg); 203 203 bool GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType,int *pss = 0); 204 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,c har *InitBuf);204 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,const char *InitBuf); 205 205 #define DIMFLAG_INITDEBUGVAR 1 206 206 #define DIMFLAG_NONCALL_CONSTRACTOR 2 207 207 #define DIMFLAG_STATIC 4 208 208 #define DIMFLAG_CONST 8 209 void dim( char *VarName,int *SubScripts,Type &type, char *InitBuf,char *ConstractParameter,DWORD dwFlags);209 void dim( char *VarName,int *SubScripts,Type &type, const char *InitBuf,const char *ConstractParameter,DWORD dwFlags); 210 210 void SetVarPtrToEax(RELATIVE_VAR *pRelativeVar); 211 211 void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar);
Note:
See TracChangeset
for help on using the changeset viewer.