Skip to content

Commit

Permalink
bug fix #1896
Browse files Browse the repository at this point in the history
  • Loading branch information
miks1965 committed Jul 8, 2019
1 parent 55f177a commit 663b363
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Configuration/GlobalAssemblyInfo.cs
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions Configuration/Version.defs
@@ -1,4 +1,4 @@
%MINOR%=5
%REVISION%=2181
%COREVERSION%=0
%REVISION%=2184
%MINOR%=5
%MAJOR%=3
Binary file modified Localization/DefaultLang.resources
Binary file not shown.
2 changes: 1 addition & 1 deletion ReleaseGenerators/PascalABCNET_version.nsh
@@ -1 +1 @@
!define VERSION '3.5.0.2181'
!define VERSION '3.5.0.2184'
10 changes: 5 additions & 5 deletions TreeConverter/SymbolTable/DSST/SymbolTable.cs
Expand Up @@ -839,13 +839,13 @@ private void FindAllInClass(string name, Scope ClassArea, bool OnlyInThisClass,
}
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;
}*/


}
}
}

Expand Down
9 changes: 8 additions & 1 deletion TreeConverter/TreeConversion/syntax_tree_visitor.cs
Expand Up @@ -2406,7 +2406,14 @@ public override void visit(SyntaxTree.raise_stmt _raise_stmt)
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;
}
Expand Down
2 changes: 1 addition & 1 deletion bin/Lng/Eng/VisualPascalABCNET.dat
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/Lng/Rus/VisualPascalABCNET.dat
Expand Up @@ -37,7 +37,7 @@ M_DELETE=Удалить

MR_SERVICE=Сервис
M_OPTIONS=Настройки...
M_AUTOINSERT_CODE=Режим автовставки кода
M_AUTOINSERT_CODE=Режим автозавершения кода

MR_VIEW=Вид
M_BOTTOMPANEL=Нижняя панель
Expand Down

0 comments on commit 663b363

Please sign in to comment.