mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
fix build of lexgen utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
e45b64b5d6
commit
2d67399cac
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue