UIntPtr добавил к #2168
This commit is contained in:
parent
d31977a285
commit
50e8705a7a
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
|||
public const string Major = "3";
|
||||
public const string Minor = "6";
|
||||
public const string Build = "2";
|
||||
public const string Revision = "2383";
|
||||
public const string Revision = "2385";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%MINOR%=6
|
||||
%REVISION%=2383
|
||||
%REVISION%=2385
|
||||
%COREVERSION%=2
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.6.2.2383
|
||||
3.6.2.2385
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.6.2.2383'
|
||||
!define VERSION '3.6.2.2385'
|
||||
|
|
|
|||
|
|
@ -43,14 +43,14 @@ namespace SyntaxVisitors
|
|||
|
||||
if (cd.body == null)
|
||||
return;
|
||||
var fields = cd.body.class_def_blocks.SelectMany(cm => cm.members.Where(decl => decl is var_def_statement)
|
||||
/*var fields = cd.body.class_def_blocks.SelectMany(cm => cm.members.Where(decl => decl is var_def_statement)
|
||||
.Select(decl1 => (decl1 as var_def_statement).vars.idents)
|
||||
.SelectMany(ids => ids.Select(id => id)));
|
||||
|
||||
|
||||
CollectedFields.UnionWith(fields);
|
||||
CollectedFields.UnionWith(fields);*/
|
||||
|
||||
/*foreach (var defs in cd.body.class_def_blocks)
|
||||
foreach (var defs in cd.body.class_def_blocks)
|
||||
{
|
||||
// Class members
|
||||
foreach (var decl in defs.members)
|
||||
|
|
@ -67,7 +67,7 @@ namespace SyntaxVisitors
|
|||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
begin
|
||||
var cb: System.Action<System.IntPtr>;
|
||||
cb := i->exit();
|
||||
var cb1: System.Action<System.UIntPtr>;
|
||||
cb1 := i->exit();
|
||||
end.
|
||||
|
|
@ -1264,6 +1264,8 @@ namespace PascalABCCompiler.TreeConverter
|
|||
return new PascalABCCompiler.SyntaxTree.named_type_reference(get_idents_from_dot_string(sem_type.name, sem_type.location), sem_type.location);
|
||||
else if (sem_type is compiled_type_node ctn1 && ctn1.compiled_type == typeof(System.IntPtr))
|
||||
return new PascalABCCompiler.SyntaxTree.named_type_reference(get_idents_from_dot_string("System.IntPtr", sem_type.location), sem_type.location);
|
||||
else if (sem_type is compiled_type_node ctn2 && ctn2.compiled_type == typeof(System.UIntPtr))
|
||||
return new PascalABCCompiler.SyntaxTree.named_type_reference(get_idents_from_dot_string("System.UIntPtr", sem_type.location), sem_type.location);
|
||||
else
|
||||
return new PascalABCCompiler.SyntaxTree.named_type_reference(get_idents_from_dot_string(sem_type.PrintableName, sem_type.location), sem_type.location);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue