genDepend: fix for module names that are reserved DOT keywords (#18392)
(like "node" and "edge")
This commit is contained in:
parent
16f0b55664
commit
eaa1c3a377
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ type
|
||||||
dotGraph: Rope
|
dotGraph: Rope
|
||||||
|
|
||||||
proc addDependencyAux(b: Backend; importing, imported: string) =
|
proc addDependencyAux(b: Backend; importing, imported: string) =
|
||||||
b.dotGraph.addf("$1 -> \"$2\";$n", [rope(importing), rope(imported)])
|
b.dotGraph.addf("\"$1\" -> \"$2\";$n", [rope(importing), rope(imported)])
|
||||||
# s1 -> s2_4[label="[0-9]"];
|
# s1 -> s2_4[label="[0-9]"];
|
||||||
|
|
||||||
proc addDotDependency(c: PPassContext, n: PNode): PNode =
|
proc addDotDependency(c: PPassContext, n: PNode): PNode =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue