code: def p_decl_arr(p):
      
      if len(p[2]) != 1:
          syntax_error(p.lineno(1), "Array declaration only allows one variable name at a time")
      else:
          id_, lineno = p[2][0]
          SYMBOL_TABLE.declare_array(id_, lineno, p[6], p[4])
      p[0] = p[2][0]
docs: var_arr_decl : DIM idlist LP bound_list RP typedef