Skip Menu |

This queue is for tickets about the Graph-ReadWrite CPAN distribution.

Report information
The Basics
Id: 51006
Status: new
Priority: 0/
Queue: Graph-ReadWrite

People
Owner: Nobody in particular
Requestors: bwagner [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Graph::Reader::Dot::read_graph fails on digraphs without an ID
Graph::Reader::Dot::read_graph fails on digraphs without an ID with the following error: $_[0]->YYCurtok { $_[0]->YYCurval { @$_[0]->YYExpect ID QUOT NUMBER $_[0]->YYLexer CODE(0x1830d9c) substr($_[0]->YYData->{INPUT},0,21) ... Syntax error. Example dot: digraph { 1 -> 1 } The dot-grammar allows to have a digraph without a name: http://www.graphviz.org/doc/info/lang.html graph : [ strict ] (graph | digraph) [ ID ] '{' stmt_list '}' Workaround: just give the digraph a name. Thanks Bernhard