code: def p_for_statement(p):
      '''for_statement : statement
                       | COLON inner_statement_list ENDFOR SEMI'''
      if len(p) == 2:
          p[0] = p[1]
      else:
          p[0] = ast.Block(p[2], lineno=p.lineno(1)f p_for_statement(p):
      '''for_statement : statement
                       | COLON inner_statement_list ENDFOR SEMI'''
      if len(p) == 2:
          p[0] = p[1]
      else:
          p[0] = ast.Block(p[2], lineno=p.lineno(1))
docs: for_statement : statement
                       | COLON inner_statement_list ENDFOR SEMI