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

matching end of entity and end of architecture #13

Open
m-tosch opened this issue Mar 17, 2019 · 1 comment · May be fixed by #14
Open

matching end of entity and end of architecture #13

m-tosch opened this issue Mar 17, 2019 · 1 comment · May be fixed by #14

Comments

@m-tosch
Copy link

m-tosch commented Mar 17, 2019

Entities and architectures can end with "end some_name;" instead of "end entity;" or "end architecture;" The regex should check for any word (maybe with \w) instead of the specific keywords "entity" and "architecture"

(r'end\s+entity\s*;', 'end_entity', '#pop'),

(r'end\s+architecture\s*;', 'end_arch', '#pop'),

@andresmanelli andresmanelli linked a pull request Jul 11, 2019 that will close this issue
@m-tosch
Copy link
Author

m-tosch commented May 18, 2020

The same is also true for

package
The same is true for packages. They can also end with "end some_name;" instead of "end package;"

(r'end\s+package', None, '#pop'),

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

Successfully merging a pull request may close this issue.

1 participant