Changeset 100 in dev for BasicCompiler32
- Timestamp:
- Apr 24, 2007, 3:17:29 AM (18 years ago)
- Location:
- BasicCompiler32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/BasicCompiler.vcproj
r91 r100 1938 1938 Name="Meta Parts" 1939 1939 > 1940 <File 1941 RelativePath="..\BasicCompiler_Common\include\Namespace.h" 1942 > 1943 </File> 1940 1944 <File 1941 1945 RelativePath="..\BasicCompiler_Common\Parameter.h" -
BasicCompiler32/Compile_ProcOp.cpp
r95 r100 229 229 extern char *basbuf; 230 230 extern HANDLE hHeap; 231 extern UserProc **ppSubHash;231 extern GlobalProc **ppSubHash; 232 232 extern BOOL bDebugCompile; 233 233 int i3,i4,LocalVarSchedule,EspOffsetSchedule,BaseOffset; … … 865 865 } 866 866 void CompileLocal(){ 867 extern UserProc **ppSubHash;867 extern GlobalProc **ppSubHash; 868 868 int i2; 869 UserProc *pUserProc;870 869 871 870 extern BOOL bDll; 872 871 if(bDll){ 873 872 //DLLの場合はグローバル変数を初期化するための関数を一番初めにコンパイルする 874 pUserProc=GetSubHash("_System_InitDllGlobalVariables");873 UserProc *pUserProc=GetSubHash("_System_InitDllGlobalVariables"); 875 874 if(pUserProc){ 876 875 CompileBufferInProcedure( *pUserProc ); … … 893 892 894 893 repeat: 894 GlobalProc *pGlobalProc; 895 895 for(i2=0;i2<MAX_HASH;i2++){ 896 p UserProc=ppSubHash[i2];897 while(p UserProc){898 CompileBufferInProcedure( *p UserProc );899 p UserProc=pUserProc->pNextData;896 pGlobalProc=ppSubHash[i2]; 897 while(pGlobalProc){ 898 CompileBufferInProcedure( *pGlobalProc ); 899 pGlobalProc=pGlobalProc->pNextData; 900 900 } 901 901 } … … 913 913 //プロシージャコンパイルによって、プロシージャコンパイルが必要になる場合 914 914 for(i2=0;i2<MAX_HASH;i2++){ 915 p UserProc=ppSubHash[i2];916 while(p UserProc){917 CompileBufferInProcedure( *p UserProc );918 p UserProc=pUserProc->pNextData;915 pGlobalProc=ppSubHash[i2]; 916 while(pGlobalProc){ 917 CompileBufferInProcedure( *pGlobalProc ); 918 pGlobalProc=pGlobalProc->pNextData; 919 919 } 920 920 } -
BasicCompiler32/MakePeHdr.cpp
r95 r100 558 558 ExportNamesLength=lstrlen(lpExportNames)+1; 559 559 560 extern UserProc **ppSubHash;561 UserProc *pUserProc,*psi2;560 extern GlobalProc **ppSubHash; 561 GlobalProc *pUserProc,*psi2; 562 562 while(1){ 563 563 //辞書順にサーチ
Note:
See TracChangeset
for help on using the changeset viewer.