]> granicus.if.org Git - graphviz/commitdiff
Use official, gsf fix for unnecessary evaluation.
authorerg <devnull@localhost>
Thu, 5 Feb 2009 20:39:59 +0000 (20:39 +0000)
committererg <devnull@localhost>
Thu, 5 Feb 2009 20:39:59 +0000 (20:39 +0000)
lib/expr/exgram.h

index 7dfb8aa48b166410dbff458abe47db47104f3566..6fc3d17e6df6620f1e6bb146e19651797995963e 100644 (file)
@@ -431,7 +431,6 @@ extern "C" {
                        }
                    }
                }
-               if (sym && (sym->lex == FUNCTION)) xref = NiL;
                x = exnewnode(p, t2t, 0, type, x, xref);
            } else
                switch (t2t) {
@@ -550,7 +549,7 @@ extern "C" {
            num++;
            if (type != args->data.operand.left->type)
                args->data.operand.left =
-                   excast(expr.program, args->data.operand.left, type, x,
+                   excast(expr.program, args->data.operand.left, type, NiL,
                           num);
            args = args->data.operand.right;
            N(t);