mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 14:46:02 +02:00
Add string constant values to stringconstn nodes in parse tree output
This commit is contained in:
parent
7bbd33bcd6
commit
cd9ed54d35
@ -144,6 +144,7 @@ interface
|
|||||||
{ returns whether this platform uses the nil pointer to represent
|
{ returns whether this platform uses the nil pointer to represent
|
||||||
empty dynamic strings }
|
empty dynamic strings }
|
||||||
class function emptydynstrnil: boolean; virtual;
|
class function emptydynstrnil: boolean; virtual;
|
||||||
|
procedure printnodedata(var T: Text); override;
|
||||||
{$ifdef DEBUG_NODE_XML}
|
{$ifdef DEBUG_NODE_XML}
|
||||||
procedure XMLPrintNodeData(var T: Text); override;
|
procedure XMLPrintNodeData(var T: Text); override;
|
||||||
{$endif DEBUG_NODE_XML}
|
{$endif DEBUG_NODE_XML}
|
||||||
@ -1213,6 +1214,12 @@ implementation
|
|||||||
result:=true;
|
result:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure tstringconstnode.printnodedata(var T: Text);
|
||||||
|
begin
|
||||||
|
inherited printnodedata(t);
|
||||||
|
writeln(t,printnodeindention,'value = "',value_str,'"');
|
||||||
|
end;
|
||||||
|
|
||||||
{$ifdef DEBUG_NODE_XML}
|
{$ifdef DEBUG_NODE_XML}
|
||||||
procedure TStringConstNode.XMLPrintNodeData(var T: Text);
|
procedure TStringConstNode.XMLPrintNodeData(var T: Text);
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user