- Add an assertion to catch unwanted situations and document what it is
- Fix compiler warning with unused parameter
return str;
}
-static void genYYFill(std::ostream &o, uint ind, uint need)
+static void genYYFill(std::ostream &o, uint, uint need)
{
if (bUseYYFillParam)
{
}
}
-const uint cInfinity = ~0;
+const uint cInfinity = ~0u;
class SCC
{
for(RegExpMap::const_iterator itSpecMap = specMap.begin(); itSpecMap != specMap.end(); ++itSpecMap)
{
+ // If an entry is < 0 then we did the 0/empty correction twice.
+ assert(itSpecMap->second.first >= 0);
vCondList[itSpecMap->second.first] = itSpecMap->first;
}