diff options
Diffstat (limited to 'util/lexgen/nfa.h')
-rw-r--r-- | util/lexgen/nfa.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/lexgen/nfa.h b/util/lexgen/nfa.h index 25656afacb..5481edce4c 100644 --- a/util/lexgen/nfa.h +++ b/util/lexgen/nfa.h @@ -29,13 +29,13 @@ #ifndef NFA_H #define NFA_H -#include <QMap> -#include <QHash> -#include <QString> -#include <QVector> +#include <QByteArray> #include <QDebug> +#include <QHash> +#include <QList> +#include <QMap> #include <QStack> -#include <QByteArray> +#include <QString> #include "global.h" @@ -57,7 +57,7 @@ inline QDataStream &operator>>(QDataStream &stream, State &state) return stream >> state.symbol >> state.transitions; } -struct DFA : public QVector<State> +struct DFA : public QList<State> { void debug() const; DFA minimize() const; @@ -107,7 +107,7 @@ public: int initialState; int finalState; - QVector<State> states; + QList<State> states; }; #endif // NFA_H |