From 27a28d49e366c0324e025bef49f1af5cdf206533 Mon Sep 17 00:00:00 2001 From: triton Date: Sun, 20 Oct 2013 16:14:50 +0100 Subject: [PATCH] Moved the ClangParser class to the CppSharp::Parser namespace. --- src/Parser/Main.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Parser/Main.cpp b/src/Parser/Main.cpp index d68ccca0..df2b7215 100644 --- a/src/Parser/Main.cpp +++ b/src/Parser/Main.cpp @@ -8,6 +8,8 @@ #include "Parser.h" #include "Interop.h" +namespace CppSharp { namespace Parser { + public ref class ClangParser { public: @@ -19,7 +21,7 @@ public: using namespace clix; std::string File = marshalString(Opts->FileName); - Parser parser(Opts); + ::Parser parser(Opts); return parser.ParseHeader(File); } @@ -30,7 +32,9 @@ public: using namespace clix; std::string File = marshalString(Opts->FileName); - Parser parser(Opts); + ::Parser parser(Opts); return parser.ParseLibrary(File); } -}; \ No newline at end of file +}; + +} } \ No newline at end of file