Skip to content

Commit

Permalink
Workaround VSCode not properly passing arguments with backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
RA-Kooi committed Sep 11, 2022
1 parent 32a8f67 commit a0e8b8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DwarfOne2C/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ static int Main(string[] args)
string splitPath = arguments[1];
string cuPath = arguments[2];

splitPath = splitPath.Replace(@"\\", @"\");
cuPath = cuPath.Replace(@"\\", @"\");

DumpParser dumpParser = new DumpParser(fullPath);

CompilationUnit unit = dumpParser.Parse(cuPath);
Expand Down

0 comments on commit a0e8b8c

Please sign in to comment.