summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-01-28 19:09:35 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-01-28 19:09:35 +0000
commitda352544bb9493dbe290167f664807f4cbe50366 (patch)
treed21f49765202e7d381d04a6501ae2f8aee1d18c3
parentAdd support for ice include search paths (-I like slice2cpp) (diff)
downloadslicer-1.0.2.tar.bz2
slicer-1.0.2.tar.xz
slicer-1.0.2.zip
Remove unused modules stackslicer-1.0.2
-rw-r--r--slicer/slicer/parser.cpp3
-rw-r--r--slicer/slicer/parser.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/slicer/slicer/parser.cpp b/slicer/slicer/parser.cpp
index 74fc849..825d59b 100644
--- a/slicer/slicer/parser.cpp
+++ b/slicer/slicer/parser.cpp
@@ -108,8 +108,6 @@ namespace Slicer {
bool
Slicer::visitModuleStart(const Slice::ModulePtr & m)
{
- modules.push_back(m);
-
if (!cpp) return true;
fprintf(cpp, "// Begin module %s\n\n", m->name().c_str());
@@ -465,7 +463,6 @@ namespace Slicer {
if (cpp) {
fprintf(cpp, "// End module %s\n\n", m->name().c_str());
}
- modules.pop_back();
}
void
diff --git a/slicer/slicer/parser.h b/slicer/slicer/parser.h
index dca94c0..702393e 100644
--- a/slicer/slicer/parser.h
+++ b/slicer/slicer/parser.h
@@ -60,7 +60,6 @@ namespace Slicer {
unsigned int components;
FILE * cpp;
- std::vector<Slice::ModulePtr> modules;
unsigned int classNo;
};
}