|
Boost : |
From: Marshall Clow (marshall_at_[hidden])
Date: 2007-06-19 15:25:25
So, I'm trying to read some dot files (that are generated by a tool
looking at a perforce depot.
Most of the files "read_graphviz" just returns false. So, I started
cutting down my test cases to see what's going on.
Here's what I found:
digraph G {
a0 [ label = "//depot/path/to/file_1" ];
a1 [ label = "//depot/path/to/file_2" ];
a0 -> a1 [ color=gray ];
}
works great, but
digraph G {
a0 [ label = "//depot/path/to/file_1#4" ];
a1 [ label = "//depot/path/to/file_2#9" ];
a0 -> a1 [ color=gray ];
}
fails. Apparently the DOT reader doesn't like "#"s in quoted strings. :-(
Any ideas on an easy way to fix this? I'm looking at the spirit
grammar behind the parser
and it is less than totally straightforward.
Thanks in advance!
-- -- Marshall Marshall Clow Idio Software <mailto:marshall_at_[hidden]> It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning. It is by caffeine alone I set my mind in motion.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk