AST Types
This commit is contained in:
@@ -17,6 +17,7 @@ uses
|
||||
Myc.Data.Value,
|
||||
Myc.Ast.Nodes,
|
||||
Myc.Ast.Scope,
|
||||
Myc.Ast.Types,
|
||||
Myc.Ast.Visitor,
|
||||
Myc.Fmx.AstEditor.Node,
|
||||
Myc.Fmx.AstEditor.Workspace;
|
||||
@@ -1232,7 +1233,7 @@ begin
|
||||
// This allows the child visitor to correctly visualize parameter nodes.
|
||||
paramDescriptor := TScope.CreateDescriptor(nil);
|
||||
for i := 0 to High(Node.Parameters) do
|
||||
paramDescriptor.Define(Node.Parameters[i].Name);
|
||||
paramDescriptor.Define(Node.Parameters[i].Name, TTypes.Unknown);
|
||||
|
||||
// 3. Create a child visitor for the new scope within the macro's body.
|
||||
const pinNodeHeight = cPinSize + cVerticalPadding;
|
||||
|
||||
Reference in New Issue
Block a user