Skip to content

Commit 079c4dd

Browse files
committed
Keep bold names.
1 parent 12cd34c commit 079c4dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hal/utils/halcompile.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,9 @@ def to_hal_man(s):
875875
s = s.replace("_", "-")
876876
c = comp_name.replace("_", "-")
877877
if options.get("singleton"):
878-
s = "%s.%s" % (c, s)
878+
s = "**%s**.**%s**" % (c, s)
879879
else:
880-
s = "%s.__N__.%s" % (c, s)
880+
s = "**%s**.__N__.**%s**" % (c, s)
881881
s = s.rstrip("-").rstrip(".")
882882
s = re.sub("#+", lambda m: "__" + "M" * len(m.group(0)) + "__", s)
883883
return s

0 commit comments

Comments
 (0)