Ignore:
Timestamp:
Jul 29, 2007, 12:33:04 PM (17 years ago)
Author:
dai_9181
Message:

BreakPertialScheduleをリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/Compile.cpp

    r247 r248  
    55#include <jenga/include/smoothie/SmoothieException.h>
    66
    7 #include <LexicalScopingImpl.h>
     7#include <LexicalScope.h>
    88#include <CodeGenerator.h>
    99#include <Compiler.h>
     
    173173            case ESC_EXITWHILE:
    174174                {
    175                     CScope *pScope = GetLexicalScopes().SearchScope( SCOPE_TYPE_WHILE );
     175                    LexicalScope *pScope = compiler.codeGenerator.lexicalScopes.SearchScope( LexicalScope::SCOPE_TYPE_WHILE );
    176176                    if( !pScope ){
    177177                        SetError(12,"Exit While",cp);
     
    183183            case ESC_EXITFOR:
    184184                {
    185                     CScope *pScope = GetLexicalScopes().SearchScope( SCOPE_TYPE_FOR );
     185                    LexicalScope *pScope = compiler.codeGenerator.lexicalScopes.SearchScope( LexicalScope::SCOPE_TYPE_FOR );
    186186                    if( !pScope ){
    187187                        SetError(12,"Exit For",cp);
     
    193193            case ESC_EXITDO:
    194194                {
    195                     CScope *pScope = GetLexicalScopes().SearchScope( SCOPE_TYPE_DO );
     195                    LexicalScope *pScope = compiler.codeGenerator.lexicalScopes.SearchScope( LexicalScope::SCOPE_TYPE_DO );
    196196                    if( !pScope ){
    197197                        SetError(12,"Exit Do",cp);
Note: See TracChangeset for help on using the changeset viewer.