Fix some syntax nodes not having list initialized
This commit is contained in:
parent
a1e1363347
commit
ac2d3c3ea3
|
|
@ -13949,7 +13949,7 @@ namespace PascalABCCompiler.SyntaxTree
|
|||
FillParentsInDirectChilds();
|
||||
}
|
||||
|
||||
protected List<ident> _ln;
|
||||
protected List<ident> _ln=new List<ident>();
|
||||
protected ident _class_name;
|
||||
protected ident _meth_name;
|
||||
protected ident _explicit_interface_name;
|
||||
|
|
@ -40195,7 +40195,7 @@ namespace PascalABCCompiler.SyntaxTree
|
|||
protected procedure_definition _proc_definition;
|
||||
protected expression_list _parameters;
|
||||
protected string _lambda_name;
|
||||
protected List<declaration> _defs;
|
||||
protected List<declaration> _defs=new List<declaration>();
|
||||
protected LambdaVisitMode _lambda_visit_mode;
|
||||
protected syntax_tree_node _substituting_node;
|
||||
protected int _usedkeyword;
|
||||
|
|
|
|||
|
|
@ -846,7 +846,7 @@
|
|||
</SyntaxNode>
|
||||
<SyntaxNode Name="method_name" BaseName="syntax_tree_node">
|
||||
<Fields>
|
||||
<ExtendedField Name="ln" Type="List<ident>" CreateVariable="false" DeleteVariable="false" />
|
||||
<ExtendedField Name="ln" Type="List<ident>" CreateVariable="true" DeleteVariable="false" />
|
||||
<SyntaxField Name="class_name" SyntaxType="ident" />
|
||||
<SyntaxField Name="meth_name" SyntaxType="ident" />
|
||||
<SyntaxField Name="explicit_interface_name" SyntaxType="ident" />
|
||||
|
|
@ -2456,7 +2456,7 @@
|
|||
<SyntaxField Name="proc_definition" SyntaxType="procedure_definition" />
|
||||
<SyntaxField Name="parameters" SyntaxType="expression_list" />
|
||||
<ExtendedField Name="lambda_name" Type="string" CreateVariable="false" DeleteVariable="false" />
|
||||
<ExtendedField Name="defs" Type="List<declaration>" CreateVariable="false" DeleteVariable="false" />
|
||||
<ExtendedField Name="defs" Type="List<declaration>" CreateVariable="true" DeleteVariable="false" />
|
||||
<ExtendedField Name="lambda_visit_mode" Type="LambdaVisitMode" CreateVariable="false" DeleteVariable="false" />
|
||||
<SyntaxField Name="substituting_node" SyntaxType="syntax_tree_node" />
|
||||
<ExtendedField Name="usedkeyword" Type="int" CreateVariable="false" DeleteVariable="false" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue