Ignore:
Timestamp:
May 3, 2008, 6:58:38 PM (16 years ago)
Author:
dai_9181
Message:

UserProcクラスによるコンパイル中関数管理用メソッドを除去(すべてCompilerクラス内で処理するようにした)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/Compile_Statement.cpp

    r465 r537  
    893893
    894894void OpcodeExitSub(void){
    895     if( UserProc::IsGlobalAreaCompiling() ){
     895    if( compiler.IsGlobalAreaCompiling() ){
    896896        compiler.errorMessenger.Output(12,"Exit Sub/Function",cp);
    897897        return;
     
    12311231}
    12321232void OpcodeReturn(char *Parameter){
    1233     if( UserProc::IsGlobalAreaCompiling() ){
     1233    if( compiler.IsGlobalAreaCompiling() ){
    12341234        //Gosub~Returnとして扱う
    12351235
     
    12401240        //戻り値をセット
    12411241        if(Parameter[0]){
    1242             const UserProc &proc = UserProc::CompilingUserProc();
     1242            const UserProc &proc = compiler.GetCompilingUserProc();
    12431243
    12441244            const char *temp = "_System_ReturnValue";
Note: See TracChangeset for help on using the changeset viewer.