New tool used. Also, silly variable names removed from source. ^^

This commit is contained in:
grinvader
2005-07-16 18:57:32 +00:00
parent db66efd2e7
commit 9bb7d64292
79 changed files with 1126 additions and 1126 deletions

View File

@@ -64,13 +64,13 @@ static unsigned char getsize(const string& token, const char mode)
return (val);
}
static bool isredund(string& cheese, const vector<string>& wine, const char bread)
static bool isredund(string& cur_line, const vector<string>& tokens, const char offset)
{
if (getsize(wine[bread],'t') == getsize(wine[(bread+2)%3], 'r'))
if (getsize(tokens[offset],'t') == getsize(tokens[(offset+2)%3], 'r'))
{
size_t loc = cheese.find(wine[bread]);
cheese.erase(loc, cheese.find(wine[bread+1])-loc-1);
return (true); // how are you gentlemen ?
size_t loc = cur_line.find(tokens[offset]);
cur_line.erase(loc, cur_line.find(tokens[offset+1])-loc-1);
return (true);
}
return (false);