]> granicus.if.org Git - graphviz/commitdiff
Fix type bug in gvpr: statically, object type is the union of graphs, nodes
authorerg <devnull@localhost>
Tue, 17 May 2005 15:53:06 +0000 (15:53 +0000)
committererg <devnull@localhost>
Tue, 17 May 2005 15:53:06 +0000 (15:53 +0000)
and edges

cmd/gvpr/compile.c

index de501d0ebf37ceb798382ad23ff7bc08a1c46a84..1e25a8799d53047714fa4748a75214a82947e0fb 100644 (file)
@@ -1070,7 +1070,7 @@ static tctype typeChk(tctype intype, Exid_t * sym)
 
     if (dom) {
        if (!intype)
-           intype = Y(E) | Y(V);       /* type of $ */
+           intype = YALL;      /* type of $ */
        if (!(dom & intype))
            rng = 0;
     } else if (intype)