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