Description: Fix build against Bison 2.7
Author: Simon Richter <sjr@debian.org>
Bug-Debian: http://bugs.debian.org/710652
Last-Update: 2013-06-01

--- foundry-0.0.20100226.orig/tree/tree_cst.yy
+++ foundry-0.0.20100226/tree/tree_cst.yy
@@ -1,7 +1,7 @@
 %{
 #include <tree_cst_tree.hpp>
 
-#include <iostream>
+#include <cstdio>
 
 using namespace foundry::tree::cst;
 %}
@@ -61,7 +61,7 @@ using namespace foundry::tree::cst;
 %expect 0
 
 %parse-param {void *scanner}
-%parse-param {start *&ret}
+%parse-param {foundry::tree::cst::start *&ret}
 %lex-param {void *scanner}
 
 %name-prefix="tree_cst_"
--- foundry-0.0.20100226.orig/tree/tree_bison.yy
+++ foundry-0.0.20100226/tree/tree_bison.yy
@@ -1,10 +1,7 @@
 %{
 #include <tree_bison_tree.hpp>
 
-#include <iostream>
-
-using std::cout;
-using std::endl;
+#include <cstdio>
 
 using namespace foundry::tree::bison;
 %}
@@ -28,7 +25,7 @@ using namespace foundry::tree::bison;
 %expect 0
 
 %parse-param {void *scanner}
-%parse-param {start *&ret}
+%parse-param {foundry::tree::bison::start *&ret}
 %lex-param {void *scanner}
 
 %name-prefix="tree_bison_"
