]> git.saurik.com Git - cycript.git/blobdiff - Parser.hpp
Force Fink's PATH (but only when required).
[cycript.git] / Parser.hpp
index 692be9b52c5f8df7e7549efc39ace21f27cf3e4c..b126d5a5fee8e4578a3d84300fb6189597d5b419 100644 (file)
@@ -303,6 +303,7 @@ struct CYScope {
     CYIdentifierValueSet identifiers_;
 
     CYScope(CYScopeType type, CYContext &context, CYStatement *&statements);
+    virtual ~CYScope();
 
     void Close();
 
@@ -354,7 +355,7 @@ struct CYContext {
     void ReplaceAll(Type_ *&values) {
         Type_ **last(&values);
         CYForEach (next, values) {
-            Replace(*last);
+            Replace(*last = next);
             last = &(*last)->next_;
         }
     }