Boost logo

Boost :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2007-06-20 12:27:47


Hi Marshall,

On Jun 19, 2007, at 3:25 PM, Marshall Clow wrote:

> 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. :-(

Thanks for catching this. There was a bug in the part of the
graphviz reader that was reading strings. I wasn't even able to get
your first example to parse correctly, but now both versions seem to
parse just fine. The fix has been checked into CVS.

Cheers,
ron


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk