You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug happens when there is a declaration of a program that is closed with endmodule. The same happens when there is a declaration of a module that is closed with endprogram.
To Reproduce
Run verible-verilog-syntax on this program:
programmodule_0 ();
endmodule
Another example:
modulemodule_0 ();
endprogram
Actual behavior:
Verible's parser accepts these incorrect programs.
Expected behavior
Verible's parser should reject these programs with a syntax error.
Environment
Verible's version:
v0.0-3724-gdec56671
Commit 2024-07-09
Built 2024-07-10T05:06:15Z
I'm running Verible on Ubuntu 20.04.
The text was updated successfully, but these errors were encountered:
Describe the bug
The bug happens when there is a declaration of a
program
that is closed withendmodule
. The same happens when there is a declaration of amodule
that is closed withendprogram
.To Reproduce
Run
verible-verilog-syntax
on this program:Another example:
Actual behavior:
Verible's parser accepts these incorrect programs.
Expected behavior
Verible's parser should reject these programs with a syntax error.
Environment
Verible's version:
I'm running Verible on Ubuntu 20.04.
The text was updated successfully, but these errors were encountered: