From e984fb73055b8b72791f9a1ff435711fa8e352f9 Mon Sep 17 00:00:00 2001 From: triton Date: Tue, 19 Nov 2013 18:34:40 +0000 Subject: [PATCH] Removed unused SymbolsContext from parser. --- src/Core/Parser/Parser.cs | 7 ------- src/Parser/Parser.cpp | 1 - 2 files changed, 8 deletions(-) diff --git a/src/Core/Parser/Parser.cs b/src/Core/Parser/Parser.cs index b47e4a75..cae84160 100644 --- a/src/Core/Parser/Parser.cs +++ b/src/Core/Parser/Parser.cs @@ -16,11 +16,6 @@ namespace CppSharp /// public ASTContext ASTContext { get; private set; } - /// - /// Context with library symbols. - /// - public SymbolContext SymbolsContext { get; private set; } - /// /// Fired when source files are parsed. /// @@ -34,7 +29,6 @@ namespace CppSharp public ClangParser() { ASTContext = new ASTContext(); - SymbolsContext = new SymbolContext(); } /// @@ -68,7 +62,6 @@ namespace CppSharp /// public ParserResult ParseLibrary(string file, ParserOptions options) { - options.SymbolsContext = SymbolsContext; options.FileName = file; var result = Parser.ClangParser.ParseLibrary(options); diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index b671287d..3119d0ae 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -36,7 +36,6 @@ Parser::Parser(ParserOptions^ Opts) : Opts(Opts) , Lib(Opts->ASTContext) - , Symbols(Opts->SymbolsContext) , Index(0) { }