Changeset 281 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Aug 14, 2007, 8:58:57 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Source.h
r280 r281 172 172 173 173 private: 174 void Realloc( int newLength ){ 174 void Realloc( int newLength ) 175 { 176 bool isEqualBasbuf = false; 177 extern char *basbuf; 178 if( basbuf == buffer ) 179 { 180 isEqualBasbuf = true; 181 } 182 175 183 buffer = (char *)realloc( buffer, newLength + 255 ); 176 184 177 185 length = newLength; 178 186 179 extern char *basbuf; 180 basbuf = buffer + 2; 187 if( isEqualBasbuf ) 188 { 189 basbuf = buffer + 2; 190 } 181 191 } 182 192
Note:
See TracChangeset
for help on using the changeset viewer.