mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-04 08:45:29 +02:00
fix handling of end labels
- disallow using end label alone on blocks - improved parse error for mismatches - add label checking for non-block constructs - allow generate block to have label before begin
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// pattern: element "yes" has mismatched end label "no"
|
||||
module top;
|
||||
function yes;
|
||||
yes = 0;
|
||||
endfunction : no
|
||||
endmodule
|
||||
Reference in New Issue
Block a user