gendepend improvements; refs #5144

This commit is contained in:
Araq 2017-01-06 13:09:39 +01:00
commit 4910a87c6f
2 changed files with 9 additions and 1 deletions

View file

@ -24,7 +24,7 @@ type
var gDotGraph: Rope # the generated DOT file; we need a global variable
proc addDependencyAux(importing, imported: string) =
addf(gDotGraph, "$1 -> $2;$n", [rope(importing), rope(imported)])
addf(gDotGraph, "$1 -> \"$2\";$n", [rope(importing), rope(imported)])
# s1 -> s2_4[label="[0-9]"];
proc addDotDependency(c: PPassContext, n: PNode): PNode =