Removing the EXPIRE_DFA_STATES code.

This commit is contained in:
Robin Sommer 2011-03-14 18:55:40 -07:00
parent c92154994a
commit 8eb241fde7
4 changed files with 31 additions and 289 deletions

View file

@ -19,6 +19,7 @@ class NFA_Machine;
class DFA_Machine;
class Specific_RE_Matcher;
class RE_Matcher;
class DFA_State;
declare(PDict,char);
declare(PDict,CCL);
@ -126,13 +127,6 @@ protected:
AcceptingSet* accepted;
};
#ifdef EXPIRE_DFA_STATES
class DFA_State_Handle;
#else
class DFA_State;
typedef DFA_State DFA_State_Handle;
#endif
class RE_Match_State {
public:
RE_Match_State(Specific_RE_Matcher* matcher)
@ -143,8 +137,6 @@ public:
current_state = 0;
}
~RE_Match_State();
const AcceptingSet* Accepted() const { return &accepted; }
const int_list* MatchPositions() const { return &match_pos; }
@ -169,7 +161,7 @@ protected:
AcceptingSet accepted;
int_list match_pos;
DFA_State_Handle* current_state;
DFA_State* current_state;
int current_pos;
};