Skip to content

Conversation

andresmanelli
Copy link

Signed-off-by: Andrés Manelli andresmanelli@gmail.com

Signed-off-by: Andrés Manelli <andresmanelli@gmail.com>
(r'type\s+(\w+)\s*is', 'type', 'type_decl'),
(r'end\s+package', None, '#pop'),
(r'end\s+\w+\s*;', None, '#pop'),
(r'end\s+package\s+\w+\s*;', None, '#pop'),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line has a slightly different matching than the one above. It is probably not needed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change that as it is for entity in #14 based on your comment.

'architecture': [
(r'end\s+architecture\s*;', 'end_arch', '#pop'),
(r'end\s+\w+\s*;', 'end_arch', '#pop'),
(r'end\s+architecture\s+\w+\s*;', 'end_arch', '#pop'),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above for "package"

@andresmanelli
Copy link
Author

Ok, so I left only the \w+ matching (also for package body)

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 this pull request may close these issues.

2 participants