Changeset 248 in dev for trunk/abdev/BasicCompiler_Common/Compile.cpp
- Timestamp:
- Jul 29, 2007, 12:33:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Compile.cpp
r247 r248 5 5 #include <jenga/include/smoothie/SmoothieException.h> 6 6 7 #include <LexicalScop ingImpl.h>7 #include <LexicalScope.h> 8 8 #include <CodeGenerator.h> 9 9 #include <Compiler.h> … … 173 173 case ESC_EXITWHILE: 174 174 { 175 CScope *pScope = GetLexicalScopes().SearchScope(SCOPE_TYPE_WHILE );175 LexicalScope *pScope = compiler.codeGenerator.lexicalScopes.SearchScope( LexicalScope::SCOPE_TYPE_WHILE ); 176 176 if( !pScope ){ 177 177 SetError(12,"Exit While",cp); … … 183 183 case ESC_EXITFOR: 184 184 { 185 CScope *pScope = GetLexicalScopes().SearchScope(SCOPE_TYPE_FOR );185 LexicalScope *pScope = compiler.codeGenerator.lexicalScopes.SearchScope( LexicalScope::SCOPE_TYPE_FOR ); 186 186 if( !pScope ){ 187 187 SetError(12,"Exit For",cp); … … 193 193 case ESC_EXITDO: 194 194 { 195 CScope *pScope = GetLexicalScopes().SearchScope(SCOPE_TYPE_DO );195 LexicalScope *pScope = compiler.codeGenerator.lexicalScopes.SearchScope( LexicalScope::SCOPE_TYPE_DO ); 196 196 if( !pScope ){ 197 197 SetError(12,"Exit Do",cp);
Note:
See TracChangeset
for help on using the changeset viewer.