mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 01:24:10 +00:00
- track depth so we know whether to consider higher-level elsifs - error on unmatched endif/elsif/else
7 lines
125 B
Plaintext
7 lines
125 B
Plaintext
logger -expect error "Found `else outside of macro conditional branch!" 1
|
|
read_verilog <<EOT
|
|
module top;
|
|
`else
|
|
endmodule
|
|
EOT
|