From a0e8b8c63a970384243f8b5f93bfe623b5dffbfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Kooi?= <48814281+RA-Kooi@users.noreply.github.com> Date: Sun, 11 Sep 2022 08:26:05 +0200 Subject: [PATCH] Workaround VSCode not properly passing arguments with backslashes --- DwarfOne2C/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DwarfOne2C/Program.cs b/DwarfOne2C/Program.cs index efc57c5..938383d 100644 --- a/DwarfOne2C/Program.cs +++ b/DwarfOne2C/Program.cs @@ -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);