]> granicus.if.org Git - graphviz/commitdiff
change aagin (yyin) to FILE* to match lexer
authorellson <devnull@localhost>
Tue, 23 Dec 2008 11:03:06 +0000 (11:03 +0000)
committerellson <devnull@localhost>
Tue, 23 Dec 2008 11:03:06 +0000 (11:03 +0000)
patch from: Chris Demetriou <cgd@google.com>

lib/agraph/grammar.y
lib/cgraph/grammar.y

index 1e422ad969551598b48fd32e85260580c34b7904..8799a3c3145909906b6e7c5e3591d41d8be8937f 100644 (file)
@@ -525,7 +525,7 @@ static void closesubg()
                yyerror("libgraph: parser lost root graph\n");
 }
 
-extern void *yyin;
+extern FILE *yyin;
 Agraph_t *agconcat(Agraph_t *g, void *chan, Agdisc_t *disc)
 {
        yyin = chan;
index c44b41595933a034d40c24f7f7a7003637410b22..f783081010c898b63b3bde64a44c0c61c165654a 100644 (file)
@@ -526,7 +526,7 @@ static void closesubg()
                yyerror("libgraph: parser lost root graph\n");
 }
 
-extern void *yyin;
+extern FILE *yyin;
 Agraph_t *agconcat(Agraph_t *g, void *chan, Agdisc_t *disc)
 {
        yyin = chan;