Skip to content

Commit 5d05ca3

Browse files
author
Katharina Ceesay-Seitz
committed
Support end entity with entity keyword and name
1 parent d980827 commit 5d05ca3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hdlparse/vhdl_parser.py

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
(r'generic\s*\(', None, 'generic_list'),
8888
(r'port\s*\(', None, 'port_list'),
8989
(r'end\s+\w+\s*;', 'end_entity', '#pop'),
90+
(r'end\s+entity\s+\w+\s*;', 'end_entity', '#pop'),
9091
(r'/\*', 'block_comment', 'block_comment'),
9192
(r'--.*\n', None),
9293
],

0 commit comments

Comments
 (0)