From f1c71eff5c5f24be543eee799d7d4674c32da885 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 13 May 2026 15:20:42 -0700 Subject: [PATCH] parse.y: Remove unused fields from union The parser union still has a few fields that are not used by any grammar rule. They do not have matching semantic type tags and no action references them. Remove the unused fields. Signed-off-by: Lars-Peter Clausen --- parse.y | 5 ----- 1 file changed, 5 deletions(-) diff --git a/parse.y b/parse.y index 10184aeff..44d1101d9 100644 --- a/parse.y +++ b/parse.y @@ -486,8 +486,6 @@ Module::port_t *module_declare_port(const YYLTYPE&loc, char *id, ivl_discipline_t discipline; - hname_t*hier; - std::list*strings; struct str_pair_t drive; @@ -540,7 +538,6 @@ Module::port_t *module_declare_port(const YYLTYPE&loc, char *id, struct_type_t*struct_type; data_type_t*data_type; - class_type_t*class_type; real_type_t::type_t real_type; property_qualifier_t property_qualifier; PPackage*package; @@ -570,8 +567,6 @@ Module::port_t *module_declare_port(const YYLTYPE&loc, char *id, verireal* realtime; PSpecPath* specpath; - std::list *dimensions; - PTimingCheck::event_t* timing_check_event; PTimingCheck::optional_args_t* spec_optional_args;