Allow the State event callback to accept additional arguments.
2 files changed, 2 insertions(+), 1 deletions(-)

M .hgignore
M lib/pushdown/state.rb
M .hgignore +1 -0
@@ 1,5 1,6 @@ 
 html/
 docs/
+coverage/
 spec/\.status
 \.devel$
 \.lock$

          
M lib/pushdown/state.rb +1 -1
@@ 107,7 107,7 @@ class Pushdown::State
 
 	### Event callback -- called by the automaton when its #on_<stackname>_event method
 	### is called. This method can return a Transition or a Symbol which maps to one.
-	def on_event( event )
+	def on_event( event, *args )
 		return nil # no-op
 	end