Changeset 280 in dev for trunk/abdev/BasicCompiler_Common/include/NativeCode.h
- Timestamp:
- Aug 14, 2007, 8:37:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/NativeCode.h
r279 r280 130 130 int lineNum; 131 131 long nativeCodePos; 132 int sourceIndex; 132 133 long sourceCodePos; 133 134 DWORD codeType; … … 142 143 ar & BOOST_SERIALIZATION_NVP( lineNum ); 143 144 ar & BOOST_SERIALIZATION_NVP( nativeCodePos ); 145 ar & BOOST_SERIALIZATION_NVP( sourceIndex ); 144 146 ar & BOOST_SERIALIZATION_NVP( sourceCodePos ); 145 147 ar & BOOST_SERIALIZATION_NVP( codeType ); … … 147 149 148 150 public: 149 SourceLine( int lineNum, int nativeCodePos, int source CodePos, DWORD codeType )151 SourceLine( int lineNum, int nativeCodePos, int sourceIndex, int sourceCodePos, DWORD codeType ) 150 152 : lineNum( lineNum ) 151 153 , nativeCodePos( nativeCodePos ) 154 , sourceIndex( sourceIndex ) 152 155 , sourceCodePos( sourceCodePos ) 153 156 , codeType( codeType ) … … 165 168 { 166 169 return nativeCodePos; 170 } 171 int GetSourceIndex() const 172 { 173 return sourceIndex; 174 } 175 void SetSourceIndex( int sourceIndex ) 176 { 177 this->sourceIndex = sourceIndex; 167 178 } 168 179 long GetSourceCodePos() const … … 366 377 367 378 void ResetDataSectionBaseOffset( long dataSectionBaseOffset ); 379 void ResetSourceIndexes( long sourceIndexBase ); 368 380 };
Note:
See TracChangeset
for help on using the changeset viewer.