[icestorm] 17/75: icebox_vlog -s bugfix
Ruben Undheim
rubund-guest at moszumanska.debian.org
Wed Oct 7 15:52:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository icestorm.
commit cf734064adff508ca386d7ccab1d489fbc030826
Author: Clifford Wolf <clifford at clifford.at>
Date: Wed Jul 29 10:05:24 2015 +0200
icebox_vlog -s bugfix
---
icebox/icebox_vlog.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py
index 28d12e2..4d2bba8 100755
--- a/icebox/icebox_vlog.py
+++ b/icebox/icebox_vlog.py
@@ -824,10 +824,13 @@ for line in text_wires:
match = re.match(r"wire ([^ ;]+)(.*)", line)
if match:
if strip_comments:
+ name = match.group(1)
+ if name.startswith("\\"):
+ name += " "
if match.group(1) in wire_to_reg:
- new_text_regs.append(match.group(1))
+ new_text_regs.append(name)
else:
- new_text_wires.append(match.group(1))
+ new_text_wires.append(name)
continue
else:
if match.group(1) in wire_to_reg:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/icestorm.git
More information about the debian-science-commits
mailing list