Open JBontes opened 7 years ago
All Literals are ValuedSyntaxNodes. If we make some literals a different type, things get really confusing.
Fix:
procedure TPasSyntaxTreeBuilder.NilToken; var Node: TSyntaxNode; begin Node:= FStack.AddValuedChild(ntLiteral, AttributeValues[atNil]); Node.Attribute[anType]:= AttributeValues[atNil]; inherited; end;
All Literals are ValuedSyntaxNodes. If we make some literals a different type, things get really confusing.
Fix: