Skip to content

Conversation

andresmanelli
Copy link

Signed-off-by: Andrés Manelli [email protected]

@@ -32,7 +32,8 @@
(r'subtype\s+(\w+)\s+is\s+(\w+)', 'subtype'),
(r'constant\s+(\w+)\s+:\s+(\w+)', 'constant'),
(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.

@@ -89,7 +90,8 @@
(r'--.*\n', None),
],
'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