Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWaWaR committed Jun 25, 2012
1 parent 1efe8ba commit e722572
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def createDot(hashNode):
if names[1] in node.keys():
data = node_key + ":" + "v" + str(i) + "->" + names[1] + ":v0:n;\n\t"
else:
print "Waring: struct " + names[1] + "not find!"
print "Waring: struct " + names[1] + " not find!"
continue
graph_data = graph_data + data
i = i + 1
Expand Down
8 changes: 8 additions & 0 deletions src/tmp.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
digraph {
rankdir=LR;
node1[shape=record, label="<v0>#node1|<v1>int a|<v2>int b|<v3>int c"];
node3[shape=record, label="<v0>#node3|<v1>struct node1 mem1|<v2>struct node1 mem2|<v3>int mem3|<v4>int mem4|<v5>char mem5"];
node2[shape=record, label="<v0>#node2|<v1>int num1|<v2>int num2|<v3>int num3"];
node3:v1->node1:v0:n;
node3:v2->node1:v0:n;
}
Binary file added src/tmp.ps
Binary file not shown.

0 comments on commit e722572

Please sign in to comment.