Travis: Fix naming
This commit is contained in:
parent
12dfd8a5ca
commit
249a101ec2
|
@ -86,23 +86,23 @@ namespace {
|
||||||
if (mSymbols.find(symbolicExpression) != mSymbols.end())
|
if (mSymbols.find(symbolicExpression) != mSymbols.end())
|
||||||
return;
|
return;
|
||||||
mSymbols.insert(symbolicExpression);
|
mSymbols.insert(symbolicExpression);
|
||||||
map[tok].push_back(symbolicExpression + "=" + value->getRange());
|
mMap[tok].push_back(symbolicExpression + "=" + value->getRange());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void state(const Token *tok, const std::string &s) {
|
void state(const Token *tok, const std::string &s) {
|
||||||
map[tok].push_back(s);
|
mMap[tok].push_back(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
void print(std::ostream &out) {
|
void print(std::ostream &out) {
|
||||||
std::set<std::pair<int,int>> locations;
|
std::set<std::pair<int,int>> locations;
|
||||||
for (auto it : map) {
|
for (auto it : mMap) {
|
||||||
locations.insert(std::pair<int,int>(it.first->linenr(), it.first->column()));
|
locations.insert(std::pair<int,int>(it.first->linenr(), it.first->column()));
|
||||||
}
|
}
|
||||||
for (const std::pair<int,int> &loc : locations) {
|
for (const std::pair<int,int> &loc : locations) {
|
||||||
int lineNumber = loc.first;
|
int lineNumber = loc.first;
|
||||||
int column = loc.second;
|
int column = loc.second;
|
||||||
for (auto &it : map) {
|
for (auto &it : mMap) {
|
||||||
const Token *tok = it.first;
|
const Token *tok = it.first;
|
||||||
if (lineNumber != tok->linenr())
|
if (lineNumber != tok->linenr())
|
||||||
continue;
|
continue;
|
||||||
|
@ -160,7 +160,7 @@ namespace {
|
||||||
return "ok";
|
return "ok";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::map<const Token *, std::vector<std::string>> map;
|
std::map<const Token *, std::vector<std::string>> mMap;
|
||||||
|
|
||||||
int mDataIndex;
|
int mDataIndex;
|
||||||
int mAbortLine;
|
int mAbortLine;
|
||||||
|
|
Loading…
Reference in New Issue