summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorȘtefan Talpalaru <stefantalpalaru@yahoo.com>2021-06-30 07:29:10 +0200
committerGitHub <noreply@github.com>2021-06-30 07:29:10 +0200
commiteaa1c3a37754725f91f54f23080980b82c2f2356 (patch)
tree25c9c6c97e8515cab2b83f8a3435ced54ad2e467 /compiler
parent16f0b556643a8a9cc73781de6d71d0041a194640 (diff)
downloadNim-eaa1c3a37754725f91f54f23080980b82c2f2356.tar.gz
genDepend: fix for module names that are reserved DOT keywords (#18392)
(like "node" and "edge")
Diffstat (limited to 'compiler')
-rw-r--r--compiler/depends.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/depends.nim b/compiler/depends.nim
index 7225b6b47..30fc961c5 100644
--- a/compiler/depends.nim
+++ b/compiler/depends.nim
@@ -25,7 +25,7 @@ type
     dotGraph: Rope
 
 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]"];
 
 proc addDotDependency(c: PPassContext, n: PNode): PNode =
021-11-03 21:13:04 +0530 committer Andinus <andinus@nand.sh> 2021-11-03 21:13:04 +0530 Change default output directory' href='/andinus/fornax/commit/lib/Fornax/CLI.rakumod?id=7b812b8ef7456a491b667b52713cbef5dbc81bc6'>7b812b8 ^
8cef86f ^
ca74f0d ^
31e11e8 ^
4e8a596 ^


31e11e8 ^
4e8a596 ^





a35769b ^
4e8a596 ^
a35769b ^
4e8a596 ^

8cef86f ^


4e8a596 ^


8cef86f ^



4e8a596 ^
a35769b ^
4e8a596 ^



a35769b ^
74fa056 ^


4e8a596 ^


bffe38e ^
74fa056 ^
4e8a596 ^
bffe38e ^
74fa056 ^
4e8a596 ^


a35769b ^
4e8a596 ^
4e8a596 ^




4e8a596 ^




ca74f0d ^
4e8a596 ^










74fa056 ^
4e8a596 ^
a35769b ^
4e8a596 ^

74fa056 ^


a35769b ^
74fa056 ^
a35769b ^
8cef86f ^






ca74f0d ^

a35769b ^
ca74f0d ^
4e8a596 ^
ca74f0d ^
a35769b ^


4e8a596 ^
74fa056 ^
a35769b ^



4e8a596 ^
a35769b ^


ca74f0d ^
7b812b8 ^

6b73ff7 ^

c9e3cb2 ^
ca74f0d ^
7b812b8 ^
31e11e8 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142