This commit is contained in:
Ivan Bondarev 2021-01-07 18:56:39 +01:00
parent 99e4aa9ce6
commit 286d0ebef7

View file

@ -7415,6 +7415,8 @@ namespace PascalABCCompiler.TreeConverter
}
catch (Exception e)
{
if (e is CompilationErrorWithLocation && (e as CompilationErrorWithLocation).loc == null)
(e as CompilationErrorWithLocation).loc = mcloc;
if (silExt.Count == 0)
throw; // не проверять в методах расширения, поскольку их нет
}