Screen out Ignore actions

This commit is contained in:
Keith Winstein
2011-01-13 01:06:16 -05:00
parent 40f196d02c
commit fbf0567085
3 changed files with 22 additions and 15 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ namespace Parser {
public:
void setfamily( StateFamily *s_family ) { family = s_family; }
Transition input( wchar_t ch );
virtual Action *enter( void ) { return NULL; }
virtual Action *exit( void ) { return NULL; }
virtual Action *enter( void ) { return new Ignore; }
virtual Action *exit( void ) { return new Ignore; }
State() : family( NULL ) {};
virtual ~State() {};