Skip to content
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

RtlTree failed to recognize instance in some senarios #44

Open
zjzaaa2005 opened this issue Dec 11, 2023 · 0 comments
Open

RtlTree failed to recognize instance in some senarios #44

zjzaaa2005 opened this issue Dec 11, 2023 · 0 comments

Comments

@zjzaaa2005
Copy link

The regex used in rtl.vim to match module-inst is ";\s*$", so the following code is not recognized.

mod_a u_a (
    ....
    ); // comment

mod_b u_b (
   ....
   );

mod_c u_c (/*autoinst*/
    ...
   // comment;
   ....
   );

The u_b is not recognized due to comment in last line of u_a. And the u_c is not recognized due to the comment with ";" which generated by autoinst function extracting from mod_c.v .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant