diff options
-rw-r--r-- | slicer/slicer/parser.cpp | 3 | ||||
-rw-r--r-- | slicer/slicer/parser.h | 1 |
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; }; } |