Project

General

Profile

« Previous | Next » 

Revision 7f55f63f

Added by Arnaud Dieumegard over 3 years ago

Default value corrections

View differences:

src/backends/VHDL/vhdl_ast.ml
94 94
  }
95 95
and vhdl_element_assoc_t =
96 96
  {
97
    choices: vhdl_expr_t list;
97
    choices: vhdl_expr_t list [@default []];
98 98
    expr: vhdl_expr_t;
99 99
  }
100 100
and vhdl_array_attributes_t = 
......
223 223
      ports: vhdl_port_t list [@default []];
224 224
    } [@name "COMPONENT_DECLARATION"]
225 225
  | Subprogram of {
226
      name: vhdl_name_t [@default NoName]; 
226
      name: string [@default ""]; 
227 227
      kind: string [@default ""]; 
228
      spec: vhdl_subprogram_spec_t [@default {name="";typeMark=NoName;parameters=[];isPure=false}]; 
228
      spec: vhdl_subprogram_spec_t option [@default None]; 
229 229
      decl_part: vhdl_declaration_t list [@default []]; 
230 230
      stmts: vhdl_sequential_stmt_t list [@default []]
231 231
    } [@name "SUBPROGRAM_BODY"]
......
323 323
    name: vhdl_name_t [@default NoName];
324 324
    generics: vhdl_port_t list [@default []];
325 325
    ports: vhdl_port_t list [@default []];
326
    declaration: vhdl_declaration_t list [@key "ENTITY_DECLARATIVE_PART"] [@default []];
326
    declaration: vhdl_declarative_item_t list [@key "ENTITY_DECLARATIVE_PART"] [@default []];
327 327
    stmts: vhdl_concurrent_stmt_t list [@key "ENTITY_STATEMENT_PART"] [@default []]; 
328 328
  }
329 329
[@@deriving show { with_path = false }, yojson {strict = false}];;

Also available in: Unified diff