- Timestamp:
- May 10, 2008, 3:10:57 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Delegate.h
r587 r588 57 57 } 58 58 59 void SetSourceIndex( int sourceIndex )59 int GetSourceIndex() const 60 60 { 61 this->sourceIndex =sourceIndex;61 return sourceIndex; 62 62 } 63 63 -
trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Delegate.cpp
r587 r588 221 221 Jenga::Common::Strings parameterStrings; 222 222 SplitParameter( dg.GetParamStr(), parameterStrings ); 223 int sourceIndex; 224 ActiveBasic::Compiler::LexicalAnalyzer::AnalyzeParameter( dg.GetParameters(), parameterStrings, sourceIndex ); 225 dg.SetSourceIndex( sourceIndex ); 223 ActiveBasic::Compiler::LexicalAnalyzer::AnalyzeParameter( dg.GetParameters(), parameterStrings, dg.GetSourceIndex() ); 226 224 227 225 // 動的パラメータを作る … … 235 233 if( !compiler.StringToType( dg.GetReturnTypeName(), returnType ) ) 236 234 { 237 compiler.errorMessenger.Output(3,dg.GetReturnTypeName(), sourceIndex);235 compiler.errorMessenger.Output(3,dg.GetReturnTypeName(),dg.GetSourceIndex()); 238 236 } 239 237 else
Note:
See TracChangeset
for help on using the changeset viewer.