]> granicus.if.org Git - graphviz/commitdiff
Fixed previoux fix.
authorStephen C. North <north@magyk-103-25.research.att.com>
Mon, 29 Jul 2013 16:27:47 +0000 (12:27 -0400)
committerStephen C. North <north@magyk-103-25.research.att.com>
Mon, 29 Jul 2013 16:27:47 +0000 (12:27 -0400)
lib/cgraph/grammar.y

index 6e602b6957e8fa793afa7d78e66c329a867ca3d3..59a2bbdecca0294650ad9c639fbfc6a42347e778 100644 (file)
@@ -126,7 +126,7 @@ compound    :       simple rcompound optattr
 
 simple         :       nodelist | subgraph ;
 
-rcompound      :       T_edgeop {getedgeitems(1);} simple rcompound {if ($4) getedgeitems(2); $$ = 1;}
+rcompound      :       T_edgeop {getedgeitems(1);} simple {getedgeitems(2);} rcompound {$$ = 1;}
                        |       /* empty */ {$$ = 0;}
                        ;