fix build of lexgen utility

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2017-05-09 03:42:07 +00:00
parent e45b64b5d6
commit 2d67399cac

View file

@ -245,6 +245,7 @@ void NFA::debug()
}
// helper
QT_BEGIN_NAMESPACE
typedef QSet<int> DFAState;
// that's a bad hash, but it's good enough for us
@ -256,6 +257,7 @@ inline uint qHash(const DFAState &state)
val |= qHash(s);
return val;
}
QT_END_NAMESPACE
DFA NFA::toDFA() const
{