Changeset 10265 for code/trunk/src/libraries/core/LuaState.cc
- Timestamp:
- Feb 11, 2015, 11:17:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/LuaState.cc
r10264 r10265 245 245 //Note: due to newlines etc., it's possible that one line consists of parts of 246 246 // multiple, different files 247 std::vector<std::vector<std::pair<std::string, size_t> >>::reverse_iterator it = lineTrace_->rbegin();247 std::vector<std::vector<std::pair<std::string, size_t> > >::reverse_iterator it = lineTrace_->rbegin(); 248 248 std::pair<std::string, size_t> temppair = std::make_pair(filename, line); 249 249 //Avoid duplicate entries. This could happen if there were lua blocks on the same line … … 259 259 { 260 260 //Add the new line to the trace map 261 lineTrace_->push_back(std::vector<std::pair<std::string, size_t> >());261 lineTrace_->push_back(std::vector<std::pair<std::string, size_t> >()); 262 262 //Add the source of the line at the end 263 263 lineTrace_->rbegin()->push_back(std::make_pair(filename, line + i));
Note: See TracChangeset
for help on using the changeset viewer.