-
Notifications
You must be signed in to change notification settings - Fork 215
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
Rejected valid signal name #2076
Comments
Yeah, this is because we accept a few more potential keywords from Verilog-AMS We should probably add that to the 'keyword or identifier' classification like here verible/verilog/parser/verilog.y Lines 757 to 782 in c548dbb
|
Is there a switch to avoid this syntax error? |
Unfortunately not currently. We do have an issu #141 to allow switching Verilog dialects, but it is yet to be picked up by someone. But if you make a pull request that adds the keyword to the section I mentioned, it should fix your issue. |
Will do, thanks! |
Describe the bug
Short summary.
To Reproduce
with
test.sv
Actual behavior:
Rejects valid syntax
Expected behavior
No syntax error.
analog
is not a reserved keyword according to LRM Annex B Table B.1The text was updated successfully, but these errors were encountered: