Clean up code

This commit is contained in:
Keith Winstein
2011-01-13 00:54:00 -05:00
parent 59f000cdce
commit 40f196d02c
2 changed files with 68 additions and 67 deletions
+5 -1
View File
@@ -26,9 +26,13 @@ namespace Parser {
}
virtual ~Transition() {}
Transition( Action *s_action=NULL, 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 )
{}
};
}