From 0a35647487f508be5a48feaf18734086e6d460d4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 17 Nov 2009 19:16:48 +0000 Subject: [PATCH] Fixed some compilation errors on Mac OS X. --- ObjectiveC/Replace.mm | 1 - Parser.hpp | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ObjectiveC/Replace.mm b/ObjectiveC/Replace.mm index 5f86ff4..0993a11 100644 --- a/ObjectiveC/Replace.mm +++ b/ObjectiveC/Replace.mm @@ -38,7 +38,6 @@ /* }}} */ #include "Replace.hpp" -#include "Context.hpp" #include "ObjectiveC/Syntax.hpp" #include diff --git a/Parser.hpp b/Parser.hpp index d8eb56b..6bf18a7 100644 --- a/Parser.hpp +++ b/Parser.hpp @@ -325,6 +325,9 @@ struct CYScope { { } + virtual ~CYScope() { + } + void Declare(CYContext &context, CYIdentifier *identifier, CYIdentifierFlags flags); virtual CYIdentifier *Lookup(CYContext &context, CYIdentifier *identifier); void Merge(CYContext &context, CYIdentifier *identifier); @@ -363,6 +366,9 @@ struct CYContext : { } + virtual ~CYContext() { + } + template void Replace(Type_ *&value) { for (;;) if (value == NULL) -- 2.49.0