Changeset 78 in dev for BasicCompiler64


Ignore:
Timestamp:
Mar 25, 2007, 2:47:49 AM (17 years ago)
Author:
dai_9181
Message:

CTypeDef → TypeDef
Houseクラスを追加。
オーバーロードレベルの種類を追加(レベル1に挿入)

Location:
BasicCompiler64
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/BasicCompiler.vcproj

    r76 r78  
    4848                Name="VCCLCompilerTool"
    4949                Optimization="0"
    50                 AdditionalIncludeDirectories="..\cpplibs\boost"
     50                AdditionalIncludeDirectories="..\cpplibs\boost;..\BasicCompiler_Common\include"
    5151                PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;JPN;_AMD64_;_WIN64"
    5252                MinimalRebuild="true"
     
    464464                    >
    465465                </File>
    466                 <File
    467                     RelativePath="..\BasicCompiler_Common\TypeDef.h"
    468                     >
    469                 </File>
    470466            </Filter>
    471467            <Filter
     
    473469                >
    474470                <File
     471                    RelativePath="..\BasicCompiler_Common\include\House.h"
     472                    >
     473                </File>
     474                <File
    475475                    RelativePath="..\BasicCompiler_Common\Parameter.h"
    476476                    >
     
    482482                <File
    483483                    RelativePath="..\BasicCompiler_Common\Type.h"
     484                    >
     485                </File>
     486                <File
     487                    RelativePath="..\BasicCompiler_Common\TypeDef.h"
    484488                    >
    485489                </File>
     
    13511355                        >
    13521356                    </File>
    1353                     <File
    1354                         RelativePath="..\BasicCompiler_Common\TypeDef.cpp"
    1355                         >
    1356                     </File>
    13571357                </Filter>
    13581358                <Filter
     
    15291529                >
    15301530                <File
     1531                    RelativePath="..\BasicCompiler_Common\src\House.cpp"
     1532                    >
     1533                </File>
     1534                <File
    15311535                    RelativePath="..\BasicCompiler_Common\Procedure.cpp"
    15321536                    >
     
    15341538                <File
    15351539                    RelativePath="..\BasicCompiler_Common\Type.cpp"
     1540                    >
     1541                </File>
     1542                <File
     1543                    RelativePath="..\BasicCompiler_Common\TypeDef.cpp"
    15361544                    >
    15371545                </File>
  • BasicCompiler64/Compile_Func.cpp

    r76 r78  
    102102
    103103        //オーバーロードを解決
    104         extern ProcPointer **ppProcPointer;
    105         pUserProc=OverloadSolution(name,subs,ppProcPointer[ProcPtr_BaseIndex]->Params(), Type() );
     104        pUserProc=OverloadSolution(name,subs,House::procPointers[ProcPtr_BaseIndex]->Params(), Type() );
    106105
    107106        if(!pUserProc){
  • BasicCompiler64/MakePeHdr.cpp

    r76 r78  
    136136
    137137    //関数ポインタ情報を初期化
    138     extern ProcPointer **ppProcPointer;
    139     extern int ProcPtrInfoNum;
    140     ppProcPointer=(ProcPointer **)HeapAlloc(hHeap,0,1);
    141     ProcPtrInfoNum=0;
     138    House::procPointers.clear();
    142139
    143140    //クラス名を取得(詳細情報はGetAllClassInfoで取得)
     
    146143    pobj_DBClass=new CDBClass();
    147144    pobj_DBClass->InitNames();
     145
     146    //TypeDef情報を初期化
     147    House::typeDefs.Init();
    148148
    149149    //定数情報を取得
  • BasicCompiler64/Opcode.h

    r77 r78  
    327327
    328328//ParamImpl.cpp
    329 #define OVERLOAD_MIN_LEVEL 0
    330 #define OVERLOAD_MAX_LEVEL 3
    331 #define OVERLOAD_LEVEL0 0
    332 #define OVERLOAD_LEVEL1 1
    333 #define OVERLOAD_LEVEL2 2
    334 #define OVERLOAD_LEVEL3 3
    335329class ParamImpl{
    336330    char *Parms[255];
Note: See TracChangeset for help on using the changeset viewer.