def p_command_for_bad_final(p):
 p[0] = 'BAD FINAL VALUE IN FOR STATEMENT'

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