From 5dd77ba68c41a02f7cdaa7f1f79574b60d4fda22 Mon Sep 17 00:00:00 2001 From: SunSerega Date: Thu, 3 Oct 2019 17:16:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BE=D0=B7=D0=B2=D1=80=D0=B0=D1=82=20?= =?UTF-8?q?=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20Enviroment.C?= =?UTF-8?q?urrentDirectory=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB?= =?UTF-8?q?=D1=8F=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Compiler/Compiler.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Compiler/Compiler.cs b/Compiler/Compiler.cs index cbce3930b..fe9a6785e 100644 --- a/Compiler/Compiler.cs +++ b/Compiler/Compiler.cs @@ -2257,6 +2257,8 @@ namespace PascalABCCompiler #endif } } + Environment.CurrentDirectory = CompilerOptions.SourceFileDirectory; // 03.10.19 SunSerega: CompileUnit меняет CurrentDirectory чтоб работало относительное uses-in + //удаляем лишние ошибки /*foreach(Error er in errorsList) {