Commit 8682c7ba authored by Tristan Gingold's avatar Tristan Gingold

vhdl_parser: minor refactoring of instance_pattern.

parent 7429cb98
......@@ -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\s+map.*?|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