Closed berendo closed 4 years ago
Thanks for the patch.
I think this needs to be moved under the /* check, otherwise if it's commented out it won't work right. Can you try that please?
Also can you look at the case that breaks and handcraft a similar test? I suspect from your error you just need a module, a /AUTOARG/ then the `pragma with some following lines with a paren, and the end pragma.
Also can you look at the case that breaks and handcraft a similar test?
@wsnyder take a look at the fresh force-pushed state of the PR - I've hand-crafted a test case and also moved the block of code under the /*
case as you suggested.
Thanks for your work & adding the test, pushed here and to Emacs trunk.
This PR attempts to fix
Scan error: "Unbalanced parentheses", ...
(and other) scanning errors that occur whileverilog-mode
reads module declarations for auto-instantiation of modules that contain Base64-encoded lines for protected Verilog.I am not able to provide a test case at this time as we encountered this issue in a licensed 3rd-party IP block.