Commit 8a945172 authored by Tristan Gingold's avatar Tristan Gingold

vhdl_parser: adjust regexp

parent 0b6ba299
......@@ -221,7 +221,7 @@ class VHDLParser(DepParser):
r"^\s*(?P<LABEL>\w+)\s*:"
r"\s*(?:entity\s+(?P<LIB>\w+)\.)?(?P<ENTITY>\w+)"
r"\s*(?:\(\s*(?P<ARCH>\w+)\s*\)\s*)?"
r"(?:port|generic)\s+map.*?",
r"(?:port|generic)\s+map.*?;",
re.DOTALL | re.MULTILINE | re.IGNORECASE)
def do_instance(text):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment