mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 04:18:31 +02:00
* Fix tgenconst13
This commit is contained in:
parent
b20f968454
commit
4b5c6ba3fc
@ -211,7 +211,7 @@ uses
|
||||
else
|
||||
begin
|
||||
getmem(sp,tstringconstnode(node).len+1);
|
||||
move(tstringconstnode(node).asconstpchar,sp^,tstringconstnode(node).len+1);
|
||||
move(tstringconstnode(node).asconstpchar^,sp^,tstringconstnode(node).len+1);
|
||||
sym:=cconstsym.create_string(undefinedname,conststring,sp,tstringconstnode(node).len,fromdef);
|
||||
prettyname:=''''+tstringconstnode(node).asconstpchar+'''';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user