Commit 32cebda7 authored by Paweł Szostek's avatar Paweł Szostek

remove a nasty bug in regex in VHDL parser

parent befa5a90
......@@ -109,7 +109,7 @@ class VHDLParser(DepParser):
import re
patterns = {
"use": "^ *use *(\w+) *\. *(\w+) *. *\w+ *;",
"use": "^ *use +(\w+) *\. *(\w+) *\. *\w+ *;",
"entity": "^ *entity +(\w+) +is +(port|generic)",
"package": "^ *package +(\w+) +is",
"arch_begin": "^ *architecture +(\w+) +of +(\w+) +is +",
......
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