Fixed compilation issue introduced by my last commit

This commit is contained in:
Andrew Woloszyn 2016-03-21 15:56:31 -04:00
parent 56368b68ed
commit 272afd2d0a
2 changed files with 24 additions and 11 deletions

View file

@ -170,6 +170,14 @@ public:
loc[getLastValidSourceIndex()].name = filename;
}
void setFile(const char* filename, size_t i)
{
if (i == getLastValidSourceIndex()) {
logicalSourceLoc.name = filename;
}
loc[i].name = filename;
}
void setString(int newString)
{
logicalSourceLoc.string = newString;