bug fix #1896
This commit is contained in:
parent
55f177af1c
commit
663b363ec0
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
|||
public const string Major = "3";
|
||||
public const string Minor = "5";
|
||||
public const string Build = "0";
|
||||
public const string Revision = "2181";
|
||||
public const string Revision = "2184";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%MINOR%=5
|
||||
%REVISION%=2181
|
||||
%COREVERSION%=0
|
||||
%REVISION%=2184
|
||||
%MINOR%=5
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.5.0.2181'
|
||||
!define VERSION '3.5.0.2184'
|
||||
|
|
|
|||
|
|
@ -839,13 +839,13 @@ namespace SymbolTable
|
|||
}
|
||||
cl = (ClassScope)cl.BaseClassScope;
|
||||
}
|
||||
/*if (cl.BaseClassScope == null && cl.class_type.base_type is PascalABCCompiler.TreeRealization.compiled_type_node ctn)
|
||||
if (cl.BaseClassScope == null && cl.class_type.base_type is PascalABCCompiler.TreeRealization.compiled_type_node ctn)
|
||||
{
|
||||
Result = ctn.find(name);
|
||||
var a = ctn.find(name);
|
||||
if (a != null)
|
||||
AddToSymbolInfo(a, Result);
|
||||
return;
|
||||
}*/
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2406,7 +2406,14 @@ namespace PascalABCCompiler.TreeConverter
|
|||
location loc = get_location(_raise_stmt);
|
||||
if (_raise_stmt.expr == null)
|
||||
{
|
||||
if (current_catch_excep == null) AddError(loc, "RAISE_WITHOUT_PARAMETERS_MUST_BE_IN_CATCH_BLOCK");
|
||||
var st = _raise_stmt.Parent;
|
||||
while (st != null && !(st is exception_block))
|
||||
{
|
||||
st = st.Parent;
|
||||
}
|
||||
//if (current_catch_excep == null)
|
||||
if (st == null)
|
||||
AddError(loc, "RAISE_WITHOUT_PARAMETERS_MUST_BE_IN_CATCH_BLOCK");
|
||||
return_value(new rethrow_statement_node(loc));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ M_DELETE=Delete
|
|||
|
||||
MR_SERVICE=Tools
|
||||
M_OPTIONS=Options...
|
||||
M_AUTOINSERT_CODE=Ñode autoinsert mode
|
||||
M_AUTOINSERT_CODE=Ñode autocomplete mode
|
||||
|
||||
MR_VIEW=View
|
||||
M_BOTTOMPANEL=Bottom Panel
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ M_DELETE=Удалить
|
|||
|
||||
MR_SERVICE=Сервис
|
||||
M_OPTIONS=Настройки...
|
||||
M_AUTOINSERT_CODE=Режим автовставки кода
|
||||
M_AUTOINSERT_CODE=Режим автозавершения кода
|
||||
|
||||
MR_VIEW=Вид
|
||||
M_BOTTOMPANEL=Нижняя панель
|
||||
|
|
|
|||
Loading…
Reference in a new issue