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
@@ -26,12 +26,12 @@ namespace Parser {
}
virtual ~Transition() {}
Transition( Action *s_action=new Ignore(), State *s_next_state=NULL )
Transition( Action *s_action=new Ignore, State *s_next_state=NULL )
: action( s_action ), next_state( s_next_state )
{}
Transition( State *s_next_state )
: action( new Ignore() ), next_state( s_next_state )
: action( new Ignore ), next_state( s_next_state )
{}
};
}