[graphviz-interest] Seeking document clarification
Ron Savage <[email protected]> Thu, 21 Aug 2014 17:48:21 +1000
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
Hi All
Under http://www.graphviz.org/content/dot-language we have this para:
"Semicolons aid readability but are not required except in the rare case
that a named subgraph with no body immediately preceeds an anonymous
subgraph, since the precedence rules cause this sequence to be parsed as
a subgraph with a heading and a body. Also, any amount of whitespace may
be inserted between terminals."
But what is 'a named subgraph with no body'?
The BNF says:
subgraph : [ subgraph [ ID ] ] '{' stmt_list '}'
which I read as saying the '{' and '}' are mandatory.
This suggests it's impossible to have a body-less subgraph. Is that correct?
--
Ron Savage - savage.net.au
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest