1

Closed

SpecialFormNode.cs code broken (missing)

description

Hi Roman,

First a thank you for this great software.

Second, the class SpecialFormNode has broken (missing) c# code.

To reproduce:
Browse Interpreter/Ast/Statements/SpecialFormNode.cs
Search for "context.Language."

The broken code can be seen in the snippet below, context.Language. ends abruptly
public override void Init(AstContext context, ParseTreeNode treeNode) {
  base.Init(context, treeNode);
  var nodes = treeNode.GetMappedChildNodes();
  TargetRef = AddChild("Target", nodes[0]);
  TargetRef.UseType = NodeUseType.CallTarget;
  _targetName = nodes[0].FindTokenAndGetText();
  Arguments = AddChild("Args", nodes[1]);
  AsString = "Call " + _targetName;
  context.Language.
}
Closed Feb 26, 2013 at 4:08 AM by rivantsov
fixed

comments

rivantsov wrote Jun 14, 2012 at 5:11 PM

this node is not used - it is included in the project, but action is None (no compile). I guess I was planning to use this node, but it turned out it was not needed. I will remove it, thanks for pointing this out.

rivantsov wrote Feb 26, 2013 at 4:08 AM

faulty file removed.