HF RL Explorer

Repair a verified behavior in yosyshq/yosys.

Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). When Yosys reads SystemVerilog in -sv mode, the frontend recognizes the spelling typedef but does not accept a typedef declaration, so it reports a syntax error at unexpected TOK TYPEDEF . Type aliases…

The task

When Yosys reads SystemVerilog in `-sv` mode, the frontend recognizes the spelling `typedef` but does not accept a typedef declaration, so it reports a syntax error at `unexpected TOK_TYPEDEF`. Type aliases therefore cannot be declared or used, and later declarations cannot elaborate to the aliased type.

Part of henryen/OriGent-RL-Data.