def p_command_for_bad_initial(p):
 p[0] = 'BAD INITIAL VALUE IN FOR STATEMENT'

def p_command_for_bad_initial ( p ) : p [ 0 ] = 'BAD INITIAL VALUE IN FOR STATEMENT'
command : for id equals error to expr optstep .