Browse Source

Fixed GetSourceDirectory in the parser generator to start from the current working directory.

pull/563/head
triton 10 years ago
parent
commit
ab0aace7b8
  1. 2
      src/CppParser/Bindings/ParserGen.cs

2
src/CppParser/Bindings/ParserGen.cs

@ -30,7 +30,7 @@ namespace CppSharp @@ -30,7 +30,7 @@ namespace CppSharp
static string GetSourceDirectory(string dir)
{
var directory = Directory.GetParent(Directory.GetCurrentDirectory());
var directory = new DirectoryInfo(Directory.GetCurrentDirectory());
while (directory != null)
{

Loading…
Cancel
Save