summaryrefslogtreecommitdiff
path: root/examples/c++/variant.yy
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-11-13 06:43:50 +0100
committerAkim Demaille <akim.demaille@gmail.com>2018-11-13 06:53:21 +0100
commit8ff6ff3ab034bcc4294f57eba9d8c10e5d16aeee (patch)
treec06d42aa7d8636f16f31f04d7d7e7ca6c3c19fcf /examples/c++/variant.yy
parent868ea55b7c2c557b4a7e767effa95451ccab3e87 (diff)
downloadbison-8ff6ff3ab034bcc4294f57eba9d8c10e5d16aeee.tar.gz
examples: remove useless includes
* examples/c++/variant-11.yy, examples/c++/variant.yy: here. Fix warning when storing a long into an int.
Diffstat (limited to 'examples/c++/variant.yy')
-rw-r--r--examples/c++/variant.yy2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/c++/variant.yy b/examples/c++/variant.yy
index 8fba6325..30dd19a4 100644
--- a/examples/c++/variant.yy
+++ b/examples/c++/variant.yy
@@ -33,9 +33,7 @@ typedef std::vector<std::string> strings_type;
%code // *.cc
{
-#include <algorithm>
#include <iostream>
-#include <iterator>
#include <sstream>
namespace yy