-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatter is confused by macros #2289
Comments
Probably it is related to same question, but i found this issue : Given the following module a.sv :
Launching... The output is:
The preprocessed output it seems not correct, but launching verible-verilog-lint a.sv no error is present. |
Following the previous argument i report second example to analyze in deep this question. Given the following module aa.sv :
Launching... The output is:
If a lint phase is launched : verible-verilog-lint aa.sv The errored output is:
Thes two example are tested aligned with tag: v0.0-3922-g26d4b0e0 |
Test case
I'm trying to get the formatter working with legacy verilog code. Here is a simple example that will generate the syntax parsing / token issues I've seen:
verible-verilog-format
diagnostic output:Expected behavior
<= #delay
should not behave differently than if there were no bracketsbegin
should be paired withend
and whether it is on the same line or next line to a macro should not cause syntax errorsThe text was updated successfully, but these errors were encountered: